Skip to content

Commit 62c1003

Browse files
committed
fix fingerprint
1 parent acd176a commit 62c1003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastfilter/src/main/java/org/fastfilter/xor/XorBinaryFuse32.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ int getHashFromHash(long hash, int index) {
258258
}
259259

260260
private int fingerprint(long hash) {
261-
return (int) hash;
262-
}
261+
return (int) (hash ^ (hash >>> 32));
262+
}
263263

264264
}

0 commit comments

Comments
 (0)