tustvold opened a new issue #1038:
URL: https://github.com/apache/arrow-rs/issues/1038


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   `BooleanBufferBuilder` currently has no mechanism to append an already 
packed bitmask, instead requiring bitwise iteration through the mask. This is 
particularly wasteful where the `BooleanBufferBuilder` has a length that is a 
multiple of 8, where a simple memcpy would suffice. I ran into this limitation 
whilst working on #1037
   
   **Describe the solution you'd like**
   
   In IOx we have a BitSet implementation that allows directly appending a 
bitmask - see 
[here](https://github.com/influxdata/influxdb_iox/blob/fe0bc2180732cc2189cbfe9a4727294793d25f4d/arrow_util/src/bitset.rs#L111).
 This logic could pretty much just be copied and pasted into arrow.
   


-- 
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]


Reply via email to