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/08/01 10:37:53 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #2257: Vectorised Pack Bits within BitWriter

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

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for this feature, in addition to  the *what*)
   -->
   
   `BitReader` has a vectorised `get_batch` method for unpacking blocks of bit-packed values. This provides a significant performance improvement over processing each value separately.
   
   `BitWriter`, however, has no corresponding functionality to write blocks of values and this represents a major bottleneck for encoding primitive values.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   We should add a `BitWriter::put_batch` method that can vectorise packing runs of primitives
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 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: github-unsubscribe@arrow.apache.org.apache.org

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