Skip to content

Commit

Permalink
Proper attribution of mix function
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman committed Sep 20, 2023
1 parent 4fc4e45 commit ecc8709
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public WeakReferenceHashConsingMap(int size, int demoteAfterSeconds) {
}

private static int improve(int hash) {
// xxhash avalanching phase
// base on XXH32_avalanche from xxHash (BSD2 license, Yann Collet)
hash ^= hash >>> 15;
hash *= 0x85EBCA77;
hash ^= hash >>> 13;
Expand Down

0 comments on commit ecc8709

Please sign in to comment.