Hi laserlight, thank you for the_most_perfect_hash_function_ever :) But my thoughts was how to change hash_function in uthash header , but that is something different from this topic ...Thanks to...
Type: Posts; User: anya
Hi laserlight, thank you for the_most_perfect_hash_function_ever :) But my thoughts was how to change hash_function in uthash header , but that is something different from this topic ...Thanks to...
I was thinking to use uthash for that , it is well documented I think that fits in this description ....I just must find there how to change hash function because as you said the perfect hash is the...
Sorry , hash tables are also confusing for me. The id's range won't be big,up to 200 ... but I need to use hash tables because at the end it will be application in real time and I need add/find...
As I will have always different id's I suposse that I don't need to have linked list because I will not have collissions ? So the better options will be an array of pointers to structures ? What...
Yes , the point is that I store key->value to hash table using some hashing function. But I have one more element in my structure, that is int age, and I'm confused how to store this value to hash...
Hello everyone,
While I was reading about hash tables in all examples adding new element in the table is done with function with parametars key and value. In my example I have more than 2...