Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lips7 committed Jul 10, 2024
1 parent 1392a9f commit a5fbebb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions matcher_rs/benches/bench_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,10 @@ fn bench_test_2(bencher: Bencher) {

bencher.bench(|| {
let mut _s = 0;
for x in ac.find_overlapping_iter(black_box(
"12321421asddaw你我",
)) {
for x in ac.find_overlapping_iter(black_box("12321421asddaw你我")) {
_s += x.pattern().as_usize();
}
for x in ac.find_overlapping_iter(black_box(
"12321421asddaw你我",
)) {
for x in ac.find_overlapping_iter(black_box("12321421asddaw你我")) {
_s += x.pattern().as_usize();
}
})
Expand Down

0 comments on commit a5fbebb

Please sign in to comment.