Lazily materialize the null buffer builder of BooleanBuilder
#2058
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
performance
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Just as what we have done in the
PrimitiveBuilder
: https://github.com/apache/arrow-rs/blob/master/arrow/src/array/builder/primitive_builder.rs#L33-L35We could put this optimization in the
BooleanBuilder
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
I don't know why we only do this optimization for primitive builder. If there are some context or reasons, we could not do this.
Additional context
Found when reviewing #2056
The text was updated successfully, but these errors were encountered: