Skip to content

Commit

Permalink
Fix typo in benchmarks (apache#5935)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Jun 23, 2024
1 parent 0ea074a commit a35214f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arrow/benches/comparison_kernels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ fn add_benchmark(c: &mut Criterion) {
b.iter(|| bench_nilike_utf8_scalar(&arr_string, "%xx_xX%xXX"))
});

c.bench_function("egexp_matches_utf8 scalar starts with", |b| {
c.bench_function("regexp_matches_utf8 scalar starts with", |b| {
b.iter(|| bench_regexp_is_match_utf8_scalar(&arr_string, "^xx"))
});

c.bench_function("egexp_matches_utf8 scalar ends with", |b| {
c.bench_function("regexp_matches_utf8 scalar ends with", |b| {
b.iter(|| bench_regexp_is_match_utf8_scalar(&arr_string, "xx$"))
});

Expand Down

0 comments on commit a35214f

Please sign in to comment.