We almost always want to know true_count from the result of mask operations, so we may as well compute them while iterating over the u64s used within BooleanBuffer.
We probably need our own version of BooleanBuffer::collect_bool that does a popcnt for each u64.
We almost always want to know true_count from the result of mask operations, so we may as well compute them while iterating over the u64s used within BooleanBuffer.
We probably need our own version of
BooleanBuffer::collect_boolthat does a popcnt for each u64.