Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9799) PATCH: rewrited adjust_map()

[Freeciv-Dev] (PR#9799) PATCH: rewrited adjust_map()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#9799) PATCH: rewrited adjust_map()
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Tue, 31 Aug 2004 15:46:43 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: >

> [jdorje - Tue Aug 31 22:35:20 2004]:

> >>Why is maxval a constant 1000 instead of just making it MAX_MAP_INDEX?
> > 
> > Maybe because there is an array of size maxval in adjust_hmap.
> But that array could easily be of size MAX_MAP_INDEX.

I always thought that placing 120KB on a stack isn't a good idea.
However, it's 2004 AD here, so you are right.

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