We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3286ead commit 30f160eCopy full SHA for 30f160e
arrow-json/benches/reader.rs
@@ -69,23 +69,6 @@ fn build_hex_lines(rows: usize, bytes_per_row: usize) -> Vec<u8> {
69
data.into_bytes()
70
}
71
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
-
89
fn criterion_benchmark(c: &mut Criterion) {
90
let binary_data = build_hex_lines(BINARY_ROWS, BINARY_BYTES);
91
0 commit comments