diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-01-12 21:42:34 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-01-12 21:42:34 -0800 |
| commit | 4d7ec58ecd17483f12447bea502757891270d55f (patch) | |
| tree | 5fc4c8b3f041a51a21276d9c07b1c7dd5c599ba2 /benches | |
| parent | 7fad4a80985243eb5e03d351773e282f0cc05d21 (diff) | |
| download | editor-4d7ec58ecd17483f12447bea502757891270d55f.tar.zst | |
Simplify the code a little bit.
Diffstat (limited to 'benches')
| -rw-r--r-- | benches/concat.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/concat.rs b/benches/concat.rs index a07f908..0b31ebb 100644 --- a/benches/concat.rs +++ b/benches/concat.rs @@ -11,7 +11,7 @@ fn concat(buf: &[u8]) -> Rope { } fn criterion_benchmark(c: &mut Criterion) { - let bytes = vec![0; 10000]; + let bytes = vec![0; 1000]; c.bench_function("concat asdfasdf", |b| b.iter(|| concat(black_box(&bytes)))); } |
