Justus Winter, le Tue 13 May 2014 21:02:51 +0200, a écrit :
> Use an integer hash function to derive the index from the key. This
> should reduce the number of collisions.
Ack.
> * libihash/ihash.c (hash_int32): New function.
> (find_index): Use hash_int32 on the key to derive the index.
> (add_
Use an integer hash function to derive the index from the key. This
should reduce the number of collisions.
* libihash/ihash.c (hash_int32): New function.
(find_index): Use hash_int32 on the key to derive the index.
(add_one): Likewise.
---
libihash/ihash.c | 17 +++--
1 file changed