Remove the suffix entirely

This commit is contained in:
Wolfgang Bumiller 2012-12-20 13:44:53 +01:00
parent 7833efd6e1
commit 8adbb2f5ac

2
util.c
View file

@ -534,7 +534,7 @@ typedef struct hash_node_t {
*/
#ifdef __x86_64__
GMQCC_INLINE uint32_t util_hthashfunc(hash_table_t *ht, const char *key, size_t seed) {
const uint64_t mix = 0xC6A4A7935BD1E995ULL;
const uint64_t mix = 0xC6A4A7935BD1E995;
const int rot = 47;
size_t size = strlen(key);
uint64_t hash = seed ^ (size - mix);