Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2005:
[Freeciv-Dev] Re: (PR#11779) [PATCH] New genlist code: registry section
Home

[Freeciv-Dev] Re: (PR#11779) [PATCH] New genlist code: registry section

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11779) [PATCH] New genlist code: registry section hashtable
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Sat, 7 May 2005 16:14:45 -0700
Reply-to: bugs@xxxxxxxxxxx

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

On Sat, 7 May 2005, Jason Short wrote:

>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=11779 >
>
> So now we go through the section entries and put them in a hash, then go
> through the hash entries and put them in a hash?
>
> This seems a little wasteful.

?

There is a list and an hash to store the section entries. However there
will be little memory waste since the really expensive items (strings and
section entry data are shared).

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa







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