Hi all,
I am looking for a hash written in C that meets the following needs:
* the size of the hash, n, is known and fixed before initialization, and n is large;
* only init_hash(), hash_add() and hash_get() are needed;
* keys are char pointers and values and struct pointers;
* the hash table takes up small number of memory size.
My most important requirement is that the hash table does not take up a lot of memory, in the case that a lot of extra memory are allocated.
Do you have any pointer to such hash implementation?
Thank you!