Jefffrey commented on issue #10883: URL: https://github.com/apache/arrow-rs/issues/10883#issuecomment-5489125222
if count is 4 or 8 for example, we can set the bits using `0000_1111`/`1111_1111` with an OR instead of setting bits one by one. though this might have limited impact since it requires powers of two, otherwise youre left dealing with remainders & offsets constantly. another approach could be to interpret the new buffer as `u64`'s instead of `u8`'s, and that might make it more efficient to set the bits whilst not having to carry over the remainders as much, since we have access to more bits in a single operation -- 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]
