Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Improved performance of reading Binary from parquet (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Jul 29, 2022
1 parent d0fce8e commit 8604cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/parquet/read/deserialize/binary/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl<O: Offset> Binary<O> {
offsets.push(O::default());
Self {
offsets: Offsets(offsets),
values: vec![],
values: Vec::with_capacity(capacity * 24),
last_offset: O::default(),
}
}
Expand Down

0 comments on commit 8604cb7

Please sign in to comment.