glusterfs/libglusterfs
Yaniv Kaul 956b4ad214 libglusterfs/src/dict.c : use xxhash64 for hashing.
As part of a larger effort to consolidate hash functions
and use a faster, with less collissions, I've moved to use
xxhash as the hashing function for the dictionary.

Note: I'm using only 32 bits of the hashes, as the hash field
is currently a 32 bit variable. There's room (since the struct
is not packed) to move to use a 64bit variable. Donno how it'll
affect performance.

Only compile-tested!

updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>

Change-Id: Ie244efd1368234e54dd5957ee1ae5bebd7d9409a
2018-09-17 03:32:23 +00:00
..
2015-03-18 10:36:42 -07:00