To determine the number of words, (bitvector.size() + 63u) >> 6 is more correct than bitvector.size() >> 6.
The binning_bitvector can have a size that is not a multiple of 64; currently, the IBF can be constructed with an arbitrary bin count. However, any unused bits in this case are always 0.
To determine the number of words,
(bitvector.size() + 63u) >> 6
is more correct thanbitvector.size() >> 6
.The
binning_bitvector
can have a size that is not a multiple of 64; currently, the IBF can be constructed with an arbitrary bin count. However, any unused bits in this case are always0
.