Is there a way in numpy to create an array of booleans that uses just 1 bit for each entry?
The standard np.bool type is 1 byte, but this way I use 8 times the required memory.
np.bool
On Google I found that C++ has std::vector.
std::vector