HaoYang670 opened a new issue, #2125:
URL: https://github.com/apache/arrow-rs/issues/2125
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
We have seen obvious performance improvement by lazily materializing the
null buffer builder (please see the primitive builder or the boolean array
builder). We want to use the optimization across all array builders.
**Describe the solution you'd like**
Instead of modifying each array builder one by one, I want to declare a new
type: `NullBufferBuilder`
```rust
struct NullBufferBuilder {
bitmap_builder: Option<BooleanBufferBuilder>,
length: usize,
}
impl NullBufferBuilder {
fn append {...}
fn finish {...}
...
}
```
Then, let each array builder to use it.
**Describe alternatives you've considered**
We could not do this.
**Additional context**
Add any other context or screenshots about the feature request here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]