In addWithoutCheck() on line:
int[] hashes = getHashBuckets(Integer.toString(key.hashCode()),this.slicesCount, this.bitsPerSlice);
I suggest you use a 64bit function (key.hashCode()), it scales much better and
reduce the false positives rate.
I sucefully ported it to .NET using wahbitarray (a compressed bitarray, see
link below) reducing more the ram and disk space.
http://www.codeproject.com/KB/recipes/WAHBitArray.aspx
Original issue reported on code.google.com by mun...@paraleloz.com.br on 13 Dec 2011 at 2:43
Original issue reported on code.google.com by
mun...@paraleloz.com.br
on 13 Dec 2011 at 2:43