Closed toyboot4e closed 2 days ago
They are specialized and are 8 times space-efficient to a vector of Bool. So always use bitvec (unboxed vector of Bit).
Bool
bitvec
Bit
https://en.cppreference.com/w/cpp/container/vector_bool
Use bitvec even if the API becomes harder to use! That's also the case of C++.
They are specialized and are 8 times space-efficient to a vector of
Bool
. So always usebitvec
(unboxed vector ofBit
).https://en.cppreference.com/w/cpp/container/vector_bool