diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-08 15:45:00 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-13 19:08:50 +0200 |
commit | 2d898893815a980f1b821fcec267eb8e7ded678e (patch) | |
tree | 470a45c1871b6914d8af224fa99838159b0cef65 /install-sh | |
parent | 6dcf53606fc7d46447176aab15954a897e19d6e5 (diff) |
libihash: use an integer hash function on the keys
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.
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions