This commit is contained in:
Tony Garnock-Jones 2015-06-30 12:19:22 -04:00
parent e835689abb
commit 0f75e40676
1 changed files with 4 additions and 2 deletions

View File

@ -51,8 +51,10 @@ static inline tt_hash_t hash(uint32_t tag,
uint64_t x = tag;
x ^= index * 11;
x ^= a * 11;
x ^= b * 11;
x *= 11;
x ^= a;
x *= 11;
x ^= b;
return x - (x >> 32);
}