Skip to content

Commit c90c587

Browse files
committed
inline bench
1 parent 6b624c3 commit c90c587

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benches/comparison.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use criterion::{Criterion, criterion_group, criterion_main};
44

55
include!("./random_strings_pool.rs");
66

7+
#[inline]
78
fn use_generic<T: Eq + Hash + Clone>(intern: fn(&str) -> T) -> u32 {
89
let mut map = HashMap::<T, u32>::with_capacity(POOL.len());
910

0 commit comments

Comments
 (0)