summaryrefslogtreecommitdiffstats
path: root/benches
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-03-12 18:29:29 +0100
committerCanop <cano.petrole@gmail.com>2021-03-12 20:41:20 +0100
commitf98e055ecd7ee315ba812520cacea54ef8c83b94 (patch)
tree77da76bfc6e5db6d4aae020fdf7c6e0a383cecfd /benches
parentd863f3f17745e77b426e9c583085b94d79de679c (diff)
improve fuzzy matching, holes minimization
Diffstat (limited to 'benches')
-rw-r--r--benches/fuzzy.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/benches/fuzzy.rs b/benches/fuzzy.rs
index 6f3a973..979c3bc 100644
--- a/benches/fuzzy.rs
+++ b/benches/fuzzy.rs
@@ -131,15 +131,6 @@ fn score_of_benchmark(c: &mut Criterion) {
}
});
});
- let task = format!("FuzzyPattern({:?})::find", pattern);
- c.bench_function(&task, |b| {
- let fp = FuzzyPattern::from(pattern);
- b.iter(|| {
- for name in NAMES {
- black_box(fp.find(name));
- }
- });
- });
}
}