Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] Re: (PR#6182) remove some static map-sized arrays
Home

[Freeciv-Dev] Re: (PR#6182) remove some static map-sized arrays

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6182) remove some static map-sized arrays
From: Jason Short <jshort@xxxxxxxxxxxxxx>
Date: Thu, 18 Sep 2003 09:15:10 -0400
Reply-to: jdorje@xxxxxxxxxxxxxxxxxxxxx

Gregory Berkolaiko wrote:
On Thu, 18 Sep 2003, Bursig Rafal wrote:


Sorry this msg was rejected by RT then I sent it to list


I remember there was a big discussion on this with Ross and Raimar very active participants. IIRC there was no verdict as there were argument both for and against using array[x][y] vs array[x * size + y]

I prefer the array[x][y] form. Except that it breaks under gen-topologies and consumes more memory.

jason



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