Commits

Wes McKinney authored efb707a5438
ARROW-9032: [C++] Split up arrow/util/bit_util.h into multiple header files There is a lot of code in bit_util.h that is seldom used compared to certain common utilities like `BitUtil::BytesForBits`. This moves everything outside of the `BitUtil` namespace to different headers. You can see by the frequency of includes that this makes sense so that compilation units that only need some simple bit utilities are not including a lot of header code that they never use ``` $ grep -R bit_util.h ../src/ | wc -l 68 $ grep -R bitmap.h ../src/ | wc -l 7 $ grep -R bitmap_ops.h ../src/ | wc -l 15 $ grep -R bitmap_reader.h ../src/ | wc -l 9 $ grep -R bitmap_writer.h ../src/ | wc -l 6 ``` This doesn't seem to affect aggregate compilation time very much but at minimum makes the code easier to navigate (in my opinion, at least). All the unit tests are still in bit_util_test.cc. Maybe we can improve that in a follow up patch. Closes #7352 from wesm/ARROW-9032 Authored-by: Wes McKinney <wesm@apache.org> Signed-off-by: Wes McKinney <wesm@apache.org>