Skip to content

Commit

Permalink
Update utils/zerotrie/benches/overview.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Shane F. Carr <shane@unicode.org>
  • Loading branch information
Manishearth and sffc authored Oct 2, 2024
1 parent 81f3f21 commit 9964b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/zerotrie/benches/overview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn get_basic_bench(c: &mut Criterion) {
});

#[cfg(feature = "bench")]
g.bench_function("ZeroMap/usize", |b| {
g.bench_function("ZeroMap/u32", |b| {
let zm: ZeroMap<[u8], u32> = data.iter().map(|(a, b)| (*a, *b as u32)).collect();
b.iter(|| {
for (key, expected) in black_box(data) {
Expand Down

0 comments on commit 9964b9b

Please sign in to comment.