You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "rluvaton (via GitHub)" <gi...@apache.org> on 2026/10/04 09:31:25 UTC

Re: [PR] feat: add `bit_util::copy_bits_within` and `{BooleanBufferBuilder, NullBufferBuilder}::copy_within` [arrow-rs]

rluvaton commented on PR #11196:
URL: https://github.com/apache/arrow-rs/pull/11196#issuecomment-5978539649

   > PR looks good to me, just would like to understand the use case a bit better, especially for `copy_bits_within`, so i can see for what purpose we're making it public
   
   when you need to shift bits to the start, you can use `copy_within` and then `truncate`, but basically, because BooleanBufferBuilder is the entrypoint to build bit-packed booleans, I think having API functions similar to `Vec` is useful


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