We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6451fe0 commit 9eb41d3Copy full SHA for 9eb41d3
arrow-row/src/variable.rs
@@ -260,6 +260,9 @@ fn decode_binary_view_inner(
260
});
261
262
let values_capacity: usize = rows.iter().map(|row| decoded_len(row, options)).sum();
263
+ // Reserve the max amount of bytes possible for this buffer.
264
+ // However, only strings longer than 12 bytes are copied here
265
+ // This means it is less memory efficient but faster to do utf8 validation
266
let mut values = MutableBuffer::new(values_capacity);
267
let mut views = BufferBuilder::<u128>::new(len);
268
0 commit comments