Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec
Home

[Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 May 2004 21:57:09 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8800 >

Raimar Falke wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8800 >
> 
> On Fri, May 21, 2004 at 12:40:43PM -0700, Raimar Falke wrote:
> 
>>Date: Fri May 21 19:26:30 2004-Fri May 21 19:26:30 2004
>>Author: vas
>>  Use specvecs instead of realloc'ed array in city dialog
>>  (PR#8781).
> 
> Here speclist would be also possible.
> 
> Can we define some criteria when to use the vector and when the list?

If indexed lookups are used a lot specvec is better.

jason




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