diff options
Diffstat (limited to 'src/cells/heavy_keeper.c')
| -rw-r--r-- | src/cells/heavy_keeper.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cells/heavy_keeper.c b/src/cells/heavy_keeper.c index 82fe4be..c17ef3b 100644 --- a/src/cells/heavy_keeper.c +++ b/src/cells/heavy_keeper.c @@ -13,12 +13,13 @@ #include "minheap/heap.h" #include "mpack/mpack.h" #include "xxhash/xxhash.h" -// XXHASH is faster + +// uthash use faster murmurhash +#include "murmurhash/murmurhash.h" #define HASH_FUNCTION(keyptr, keylen, hashv) \ do { \ - hashv = XXH3_64bits(keyptr, keylen); \ + hashv = murmurhash(keyptr, keylen, 0); \ } while (0) - #include "uthash.h" #include "exdata.h" |
