summaryrefslogtreecommitdiff
path: root/ftpfs/host.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-08 15:45:00 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-13 19:08:50 +0200
commit2d898893815a980f1b821fcec267eb8e7ded678e (patch)
tree470a45c1871b6914d8af224fa99838159b0cef65 /ftpfs/host.c
parent6dcf53606fc7d46447176aab15954a897e19d6e5 (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 'ftpfs/host.c')
0 files changed, 0 insertions, 0 deletions