Skip to content

Commit fb406ca

Browse files
committed
wip
1 parent 1bbbbb5 commit fb406ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benches/bloom.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ fn fast_block_index(c: &mut Criterion) {
1414
c.bench_function("block index - mod", |b| {
1515
b.iter(|| {
1616
let h: u64 = rng.random();
17-
criterion::black_box(h % (num_blocks as u64))
17+
std::hint::black_box(h % (num_blocks as u64))
1818
});
1919
});
2020

2121
c.bench_function("block index - fast", |b| {
2222
b.iter(|| {
2323
let h: u64 = rng.random();
24-
criterion::black_box(fast_impl(h, num_blocks))
24+
std::hint::black_box(fast_impl(h, num_blocks))
2525
});
2626
});
2727
}

0 commit comments

Comments
 (0)