Complete.Org: Mailing Lists: Archives: freeciv-ai: December 2004:
[freeciv-ai] (PR#9610) autosettler "territory" and danger maps
Home

[freeciv-ai] (PR#9610) autosettler "territory" and danger maps

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [freeciv-ai] (PR#9610) autosettler "territory" and danger maps
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Sun, 19 Dec 2004 19:16:18 -0800
Reply-to: bugs@xxxxxxxxxxx

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

> [per - Sun Dec 19 23:59:39 2004]:
> 
> I am not too hot on your fix, though. Using genlists directly is bad. I
> think perhaps using a specvec here might be better. We know how big to
> make it beforehand, and we won't be doing any inserts/deletions after we
> have created it, before we deallocate and recreate it.

Yes, I also think this will look cleaner, besides using less and more
contiguous mem (read cache friendly layout) than a genlist.




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