Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] Re: (PR#12315) Slowness (fix)
Home

[Freeciv-Dev] Re: (PR#12315) Slowness (fix)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12315) Slowness (fix)
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Mar 2005 10:19:43 -0800
Reply-to: bugs@xxxxxxxxxxx

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

Per I. Mathisen wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12315 >
> 
> On Mon, 21 Feb 2005, Christian Knoke wrote:
> 
>>contains 6 living AI players, and a total of 366 cities and 968 units.
>>
>>It requires 18 seconds (real) to start on a 2 GHz machine (time from click
>>on 'start' button until it is responsive).
> 
> 
> This patch should speed it up. On my computer it went from 57 seconds to 8
> :-)
> 
> However, there is a cost. If the AI's first 50 cities are very different
> from its remaining cities, its selection of government may be rather
> suboptimal (eg if its core 50 cities are unaffected by war, so it selects
> Republic for waging war, making its remaining 200 cities suffer heavy
> upkeep).

I think a random sampling of cities would be better...

-jason





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