[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: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec |
From: |
"Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx> |
Date: |
Fri, 21 May 2004 22:30:27 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8800 >
On Fri, May 21, 2004 at 09:57:09PM -0700, Jason Short wrote:
>
> <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.
I think this is a bit bold to say. If you for example change the size
a lot the list has less overhead (malloc + copy).
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Python 2.0 beta 1 is now available [...]. There is a long list of new
features since Python 1.6, released earlier today. We don't plan on
any new releases in the next 24 hours."
-- Jeremy Hylton at Slashdot
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Jason Short, 2004/05/21
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec,
Raimar Falke <=
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Jason Short, 2004/05/22
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Jason Short, 2004/05/22
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Raimar Falke, 2004/05/22
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Vasco Alexandre da Silva Costa, 2004/05/22
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Per Inge Mathisen, 2004/05/22
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Raimar Falke, 2004/05/22
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Raimar Falke, 2004/05/22
- [Freeciv-Dev] Re: (PR#8800) [RFC] Usage of speclist vs specvec, Per Inge Mathisen, 2004/05/22
|
|