[freeciv-ai] (PR#9610) autosettler "territory" and danger maps
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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.