Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#11562) Freeciv Server Performance
Home

[Freeciv-Dev] (PR#11562) Freeciv Server Performance

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#11562) Freeciv Server Performance
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Jan 2005 09:38:44 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11562 >

> [bhudson - Tue Jan 11 03:57:08 2005]:

> How about: update_city_tile_status just moves the worker into an elvis.
> 
> The client can run the CM immediately upon getting the update
> about the new tile status, if it so desires.  Never call the CM for the 
> client, except when the player acquires a new city.
> 
> For AI players, put the city on a list of cities on which to call 
> auto_arrange_workers at the end of the turn.

This is possible.  It's a design I've considered before (with a
pcity->needs_arrange value) but never done any work on.  This could work
for human players too if CM is done server-side.

One problem though is this will still rearrange all workers even when
just one should be placed.

-jason




[Prev in Thread] Current Thread [Next in Thread]