C-Macro-Collections
C-Macro-Collections copied to clipboard
Bitset implementation needs used_bits field
Currently, bitset always uses a power of 2 size. If you want to only use 100 bits, all operations are based on 128 and might be incorrect. Operations on the last word must always be checked if all of its bits are being used.