alamb commented on issue #8561: URL: https://github.com/apache/arrow-rs/issues/8561#issuecomment-3378527005
In case anyone else is following along here is the code in question: https://github.com/apache/arrow-rs/blob/ba22a214b3c469da5466f60a74ab201a268bc0fc/arrow-array/src/builder/boolean_builder.rs#L234-L244 I think it would be possible to do something like: 1. `take` as many elements from the iterator as needed to completely fill the underlying buffers up to a u64 boundary 2. Then `take()` in 64 element sections, writing into the relevant u64s 3. Appending the u64 to the underlying buffer -- 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]
