Is there any memory efficient method to store 10^9 bool values?
C++ bitset
2 Likes
there’s no way to store 10^9 arbitrary (variable) bits in less than 10^9 bits. I can imagine some compression strategies but don’t know if that what you are looking for
Watch Errichto’s video on bitsets.
4 Likes