We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2bad7 commit f16abbeCopy full SHA for f16abbe
src/segment/filter/blocked_bloom/builder.rs
@@ -101,7 +101,7 @@ impl Builder {
101
102
for i in 1..(self.k as u64) {
103
h1 = h1.wrapping_add(h2);
104
- h2 = h2.wrapping_add(i);
+ h2 = h2.wrapping_mul(i);
105
106
let idx = h1 % (CACHE_LINE_BYTES as u64);
107
src/segment/filter/blocked_bloom/mod.rs
@@ -46,7 +46,7 @@ impl AMQFilter for BlockedBloomFilter {
46
47
48
49
50
51
52
0 commit comments