Comments (4)
Very well, nice that things work as expected :-)
I guess that's a close then.
from bloom.
AFAICS this is observed correctly, but should not make a difference here as long as integer sizes are fixed (e.g. between architectures). Even with an overflow happening, fingerprint calculation is still deterministic and the distribution properties of the hash values (and hence bits) should also remain unchanged. @adewes any comments on that?
from bloom.
Howdie @satta & @0mbi :D I checked it back when I implemented it but found that it didn't change the collission probability so I left it (as otherwise we'd need to use a modular arithmetic library or implement our own, which would make the whole thing much slower). In the Python version (which supports big integers out of the box) we also truncate the multiplication result before performing the modulo, so it's compatible to the Golang version (https://github.com/DCSO/flor/blob/master/flor/filter.py#L113).
from bloom.
Thanks for being vigilant anyway :)
from bloom.
Related Issues (2)
- Wrong file size? HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloom.