Skip to content

Commit b8c5500

Browse files
committed
less
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent 3a2e9a9 commit b8c5500

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

vortex-buffer/benches/vortex_bitbuffer.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ impl FromIterator<bool> for Arrow<BooleanBuffer> {
2525
}
2626

2727
const INPUT_SIZE: &[usize] = &[128, 1024, 2048, 16_384, 65_536];
28-
const TRUE_COUNT_INPUT_SIZE: &[usize] = &[128, 1024, 16_384, 65_536];
2928

3029
#[inline]
3130
fn true_count_pattern(i: usize) -> bool {
@@ -164,15 +163,15 @@ fn slice_arrow_buffer(bencher: Bencher, length: usize) {
164163
});
165164
}
166165

167-
#[divan::bench(args = TRUE_COUNT_INPUT_SIZE)]
166+
#[divan::bench(args = INPUT_SIZE)]
168167
fn true_count_vortex_buffer(bencher: Bencher, length: usize) {
169168
let buffer = BitBuffer::from_iter((0..length).map(true_count_pattern));
170169
bencher
171170
.with_inputs(|| &buffer)
172171
.bench_refs(|buffer| buffer.true_count())
173172
}
174173

175-
#[divan::bench(args = TRUE_COUNT_INPUT_SIZE)]
174+
#[divan::bench(args = INPUT_SIZE)]
176175
fn true_count_arrow_buffer(bencher: Bencher, length: usize) {
177176
let buffer = Arrow(BooleanBuffer::from_iter(
178177
(0..length).map(true_count_pattern),

0 commit comments

Comments
 (0)