]> mj.ucw.cz Git - libucw.git/commit
A better function for hashing integers (the old multiplier was completely
authorMartin Mares <mj@ucw.cz>
Sat, 15 Nov 2003 10:41:41 +0000 (10:41 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 15 Nov 2003 10:41:41 +0000 (10:41 +0000)
commitb61d2a84d852c9ef08e252d79c5f5feb48826271
treef6d0546bb005c23a6aa674af93db0e069d8f32c2
parenta0de81cbe1f6282fdc13f6e61d07ebf0ae1c0f4c
A better function for hashing integers (the old multiplier was completely
bogus as it didn't fit in a 32-bit integer) and also a new function
for hashing pointers.
lib/hashfunc.h