Skip to content

Commit 30f160e

Browse files
committed
chore
1 parent 3286ead commit 30f160e

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

arrow-json/benches/reader.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,6 @@ fn build_hex_lines(rows: usize, bytes_per_row: usize) -> Vec<u8> {
6969
data.into_bytes()
7070
}
7171

72-
fn build_numeric_list_lines(rows: usize, list_len: usize) -> Vec<u8> {
73-
let mut data = String::with_capacity(rows * (list_len * 6 + 3));
74-
for row in 0..rows {
75-
data.push('[');
76-
for i in 0..list_len {
77-
let value = (row as i64) * (list_len as i64) + i as i64;
78-
let _ = write!(data, "{value}");
79-
if i + 1 != list_len {
80-
data.push(',');
81-
}
82-
}
83-
data.push(']');
84-
data.push('\n');
85-
}
86-
data.into_bytes()
87-
}
88-
8972
fn criterion_benchmark(c: &mut Criterion) {
9073
let binary_data = build_hex_lines(BINARY_ROWS, BINARY_BYTES);
9174

0 commit comments

Comments
 (0)