Skip to content

Commit b778675

Browse files
committed
Add WYRAND Mix
1 parent bd6eb26 commit b778675

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hash/hashutil/bloom/bloomf.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ func FromBytes(buf []byte) (*Bloom, error) {
5656

5757
func hash(s []byte, i uint64) uint64 {
5858
seed := splitmix64.Splitmix64(&i)
59+
seed = wyhash.WYRAND(&seed)
5960
return wyhash.Hash(s, seed)
6061
}
6162

0 commit comments

Comments
 (0)