You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/13 11:04:49 UTC

[GitHub] [arrow-rs] tustvold opened a new issue #1038: BooleanBufferBuilder Append Packed

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-rs] alamb closed issue #1038: BooleanBufferBuilder Append Packed

Posted by GitBox <gi...@apache.org>.
alamb closed issue #1038:
URL: https://github.com/apache/arrow-rs/issues/1038


   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org