Commits


Eduardo Ponce authored and Antoine Pitrou committed b719baa0c2a
ARROW-15220: [C++] Remove bool specializations of bit block counter operations Reduces the number of bitwise classes/structs used in util/bit_block_counter.h by removing the bool specialization because C++ guarantees `(bool)(a & b) == (a && b)` for bool types. A bool specialization is added for bitwise negation because `~(bool)(a)` will always return true, so need to explicitly use `!a`. Closes #12052 from edponce/ARROW-15220-Remove-bool-specializations-of-bit-block Authored-by: Eduardo Ponce <edponce00@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>