bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hash-map in gnulib


From: Ondřej Bílka
Subject: Re: Hash-map in gnulib
Date: Sun, 3 Mar 2013 07:45:14 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Mar 03, 2013 at 05:29:04AM +0400, Dmitry Bogatov wrote:
> Hello. Have I missed something, or gnulib actually offer array
> and set containers, but not map?
>
Posible line of reasoning is that you do not need map. Use something like
struct map {
        t_key key;
        t_value value;
}
hash(map a){ return key_hash(a.key); }
cmp(map a,map b){ return key_cmp(a.key,b.key);}
 
> If it does not, maybe we can use hash implementation in wget, or
> there is some reasons to not I do not see?
> 
> -- 
> Best regards, Dmitry Bogatov <address@hidden>,
>       Free Software supporter and netiquette guardian.
> Html mail and proprietary format attachments are forwarded to /dev/null.




reply via email to

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