C-Macro-Collections icon indicating copy to clipboard operation
C-Macro-Collections copied to clipboard

Bitset implementation needs used_bits field

Open LeoVen opened this issue 5 years ago • 0 comments

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.

LeoVen avatar Sep 08 '20 00:09 LeoVen