fn byte_aligned_bitwise_bin_op_helper<F>(
left: &mut [u8],
left_offset_in_bits: usize,
right: impl AsRef<[u8]>,
right_offset_in_bits: usize,
len_in_bits: usize,
op: F,
)Expand description
Perform bitwise binary operation on byte-aligned buffers (i.e. not offsetting into a middle of a byte).
This is the optimized path for byte-aligned operations. It processes data in u64 chunks for maximum efficiency, then handles any remainder bits.
ยงArguments
left- The left mutable buffer (must be byte-aligned)left_offset_in_bits- Starting bit offset in the left buffer (must be multiple of 8)right- The right buffer as byte sliceright_offset_in_bits- Starting bit offset in the right bufferlen_in_bits- Number of bits to processop- Binary operation to apply