[Freeciv-Dev] Re: (PR#11562) Freeciv Server Performance
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11562 >
On Fri, 17 Dec 2004, Jason Short wrote:
> >>Attached is a profile and a savegame which created it.
contemplate_new_city() is a big offender, for little good reason. We can
cache city founder want over several turns to speed it up.
ai_manage_explorer() is also a big offender, and for no good reason that I
can think of. We can use cached aidata knowledge of which continents and
oceans are already fully explored to abort the function early to make it
faster.
But worst of all is probably us running all units twice. I will look at
this. It should be possible now to end this farce.
- Per
|
|