alamb opened a new pull request, #8996: URL: https://github.com/apache/arrow-rs/pull/8996
# Which issue does this PR close? - part of https://github.com/apache/arrow-rs/issues/8806 - broken out from https://github.com/apache/arrow-rs/pull/8854 # Rationale for this change The current implementation of the unary not kernel has an extra allocation when operating on sliced data which is not necessary. Also, we can generate more optimal code by processing u64 words at a time when the buffer is already u64 aligned (see https://github.com/apache/arrow-rs/pull/8807) Also, it is hard to find the code to create new Buffers by copying bits # What changes are included in this PR? 1. Introduce `BooleanBuffer::from_bitwise_unary` and `BooleanBuffer::from_bits` 2. Deprecate `bitwise_unary_op_helper` 3. # Are these changes tested? Yes with new tests and benchmarks # Are there any user-facing changes? new PAPI -- 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]
