Search:

Type: Posts; User: anya

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    4,231

    Hi laserlight, thank you for...

    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...
  2. Replies
    18
    Views
    4,231

    I was thinking to use uthash for that , it is...

    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...
  3. Replies
    18
    Views
    4,231

    Sorry , hash tables are also confusing for me....

    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...
  4. Replies
    18
    Views
    4,231

    As I will have always different id's I suposse...

    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...
  5. Replies
    18
    Views
    4,231

    Yes , the point is that I store key->value to...

    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...
  6. Replies
    18
    Views
    4,231

    Hash table with C structures

    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...
Results 1 to 6 of 6