[Freeciv-Dev] Re: CMA passes back control without reason (PR#1505)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Jun 02, 2002 at 08:36:54PM +0200, Christian Knoke wrote:
> On Sun, Jun 02, 2002 at 08:11:11PM +0200, Raimar Falke wrote:
> > On Mon, May 27, 2002 at 12:47:52AM +0200, Raimar Falke wrote:
> > > > > > After restart, CMA retreats for a bunch of cities.
> > > > > > When I go to city report, I can (re)activate the CMA
> > > > > > for the exact preferences which I saved just before.
> >
> > This isn't a bug.
> >
> > > Yes attributes (which are used by the CMA to store things) currently
> > > get only submit at turn done. It is possible also to submit them at
> > > every change but this wasn't necessary yet.
> >
> > Comments? Sending attributes more often will cause more bandwidth
> > usage but will also prevent loss of data if the client
> > aborts/disconnects/crashs.
>
> I'm for it, rather. But how much bandwith? If I change 30 cities,
> does it send all attributes 30 times? :-(
A lot. You need about 153 bytes/city. So you currently need 4.6kb per
turn for 30 CMA controlled cities. Note that every movement of the
slider in the frontend sets the attributes and so will cause 4.6kb to
be transmitted.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Premature optimization is the root of all evil."
-- D. E. Knuth in "Structured Programming with go to Statements"
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/02
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Reinier Post, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Reinier Post, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Reinier Post, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Reinier Post, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/03
|
|