diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2018-09-11 11:42:19 +0300 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-09-17 03:32:23 +0000 |
commit | 956b4ad214b46b1a1c89e5c120754081561aa930 (patch) | |
tree | 533364d01876633ca793187870c5f1cd634b56be /api/src/glfs-fops.c | |
parent | 76cb1e761d18482512d907679d279d7f61902dde (diff) |
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
Diffstat (limited to 'api/src/glfs-fops.c')
0 files changed, 0 insertions, 0 deletions