Re: [Freeciv-Dev] (PR#10301) cachemap is way too big

"Jason Short" <[email protected]>
Newsgroups gmane.games.freeciv.ai
Message-ID <[email protected]>
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10301 >

Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10301 >
> 
> In aisettler.c, the cachemap is declared to a static size of 520,200 bytes.
> 
> This seems excessive, since if it were allocated dynamically it would 
> normally have a size of 32,000 bytes.

On a related note, the cache_map is used (in cityresult_fill) before it 
is initialized (in ai_settler_init).

jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.