We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b624c3 commit c90c587Copy full SHA for c90c587
benches/comparison.rs
@@ -4,6 +4,7 @@ use criterion::{Criterion, criterion_group, criterion_main};
4
5
include!("./random_strings_pool.rs");
6
7
+#[inline]
8
fn use_generic<T: Eq + Hash + Clone>(intern: fn(&str) -> T) -> u32 {
9
let mut map = HashMap::<T, u32>::with_capacity(POOL.len());
10
0 commit comments