bug-gnulib
[Top][All Lists]
Advanced

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

[RFC] Adding a real HashTable implementation to gnulib


From: Darshit Shah
Subject: [RFC] Adding a real HashTable implementation to gnulib
Date: Tue, 27 Nov 2018 00:16:16 +0100
User-agent: NeoMutt/20180716

I recently tried to use the hash table implementation in gnulib which resides
in the "hash" module. However, I quickly realised that the hash table in gnulib
seems to be what is otherwise popularly known as a hash set, i.e., it supports
storing and retrieving just values from the structure. 

On the other hand, a hash table is usually expected to have a key->value
mapping that is stored.

Within GNU Wget, we have a fairly portable version of a hash table implemented
which I think would be a good addition for gnulib. What do you think?

If I get a positive response here, I could extract that code and turn it into a
hash table module for gnulib. We should be able to reuse some part of the
existing code in "hash.c" for this purpose as well


-- 
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6

Attachment: signature.asc
Description: PGP signature


reply via email to

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