alamb opened a new pull request, #9022: URL: https://github.com/apache/arrow-rs/pull/9022
# Which issue does this PR close? - Part of https://github.com/apache/arrow-rs/issues/8806 - Closes https://github.com/apache/arrow-rs/pull/8854 - Closes https://github.com/apache/arrow-rs/pull/8807 This is the next step after - https://github.com/apache/arrow-rs/pull/8996 # Rationale for this change - The current implementation of the binary kernels have an extra allocation when operating on sliced data which is not necessary. - Also, we can help rust / LLVM generate more optimal code by processing u64 words at a time when the buffer is already u64 aligned (see #8807) Also, it is hard to find the code to create new Buffers by applying bitwise unary operations. # What changes are included in this PR? - Introduce optimized `BooleanBuffer::from_bitwise_binary` - Deprecate `bitwise_bin_op_helper` # Are these changes tested? Yes new tests are added # Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. If there are any breaking changes to public APIs, please call them out. --> -- 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]
