bitset
bitset copied to clipboard
Clear bit will not work correctly
clear: (pos) ->
@store[@wordIndex(pos)] &= (0xFF ^ (1 << pos))
code should be
clear: (pos) ->
@store[@wordIndex(pos)] &= (-1 ^ (1 << pos))