You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm already using the version Two it works very well for some numer of items but I notice that the unsigned int bit limits the amount of real reserved memory.
bytes is always ceil bits/8
This result in a maximum number of bits: 4,294,967,295 but only 536870912 bytes
With some high value of items it result in some cases to a random decrement of bytes
I'm already using the version Two it works very well for some numer of items but I notice that the unsigned int bit limits the amount of real reserved memory.
bytes is always ceil bits/8
This result in a maximum number of bits: 4,294,967,295 but only 536870912 bytes
With some high value of items it result in some cases to a random decrement of bytes
I made this code as a proof of concept
His output is:
The last line is only 96 MB of RAM for a bloom filter of 2147483648 items.
I solve this in my code changing the bits variable type for "unsigned long long int" instead of "unsigned int"
Kinds regards
The text was updated successfully, but these errors were encountered: