Re: [PATCH 07/11] libihash: use an integer hash function on the keys

2014-05-13 Thread Richard Braun
On Tue, May 13, 2014 at 09:47:31AM +0200, Neal H. Walfield wrote: > This URL is not valid ("ttwang.cnc.net Not Available. The domain > ttwang.cnc.net which you are trying to access is currently > unavailable..."). Do you have a more stable URL? At least mention > the name of the paper. It disapp

Re: [PATCH 07/11] libihash: use an integer hash function on the keys

2014-05-13 Thread Neal H. Walfield
At Mon, 12 May 2014 12:05:45 +0200, Justus Winter wrote: > > 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)

[PATCH 07/11] libihash: use an integer hash function on the keys

2014-05-12 Thread Justus Winter
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 | 23 +-- 1 file c