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 2022/06/06 13:13:29 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #1802: Sliceable BitMap

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

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   
   Currently `BitMap` is a simple wrapper around a `Buffer`. This limits it to slicing on multiples of 8, as `Buffer` can only slice at byte boundaries.
   
   **Describe the solution you'd like**
   
   Add an offset and length to `BitMap`, updating the accessors to take this into account. This may require deprecating and removing `buffer_ref`, and/or making it panic if non-zero offset.
   
   Add a slice method to `BitMap` that uses the offset and length to perform zero-copy slicing.
   
   **Describe alternatives you've considered**
   
   We could not do this.
   
   **Additional context**
   
   Feeds into https://github.com/apache/arrow-rs/issues/1799
   


-- 
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.apache.org

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


[GitHub] [arrow-rs] tustvold closed issue #1802: Sliceable BitMap

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #1802: Sliceable BitMap
URL: https://github.com/apache/arrow-rs/issues/1802


-- 
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] HaoYang670 commented on issue #1802: Sliceable BitMap

Posted by GitBox <gi...@apache.org>.
HaoYang670 commented on issue #1802:
URL: https://github.com/apache/arrow-rs/issues/1802#issuecomment-1148106456

   Related to this issue: https://github.com/apache/arrow-rs/issues/1728


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