Hi everyone,
I want to write a trivial hash table implementation in C to make myself familiar with it.
After a little search I found uthash is an excellent hash table implementation in C. So I start to read the 948 lines source code.
The most important part for me is:
HASH_MAKE_TABLE // make a table
HASH_FCN // using some hash function to generate hash index
HASH_ADD_TO_BKT // add an element to hash table, using the hash index generated by HASH_FCN
I can't find the code, which is used to solve hash collision in the uthash.h, so someone can help me?
~Hao