bloom
bloom copied to clipboard
ApproximatedSize returns wrong bloom filter size if bloom filter has 4B+(beyond uint32 range) items
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