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 1bbbbb5 commit fb406caCopy full SHA for fb406ca
benches/bloom.rs
@@ -14,14 +14,14 @@ fn fast_block_index(c: &mut Criterion) {
14
c.bench_function("block index - mod", |b| {
15
b.iter(|| {
16
let h: u64 = rng.random();
17
- criterion::black_box(h % (num_blocks as u64))
+ std::hint::black_box(h % (num_blocks as u64))
18
});
19
20
21
c.bench_function("block index - fast", |b| {
22
23
24
- criterion::black_box(fast_impl(h, num_blocks))
+ std::hint::black_box(fast_impl(h, num_blocks))
25
26
27
}
0 commit comments