bits-and-blooms/bloom

ApproximatedSize returns wrong bloom filter size if bloom filter has 4B+(beyond uint32 range) items

Opened this issue · 0 comments

This is happing because we are type casting bloom filter size estimation to uint32 and its rounding numbers back to within uint32 range,
we should prefer to typecast it to uint64 so that it can derive correct result