fleur
bloomd
fleur | bloomd | |
---|---|---|
3 | 2 | |
116 | 1,232 | |
0.0% | - | |
0.0 | 0.0 | |
about 1 year ago | about 1 year ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fleur
-
Fleur – A bloom filter implementation in C
> There is also strange code like this loop https://github.com/hashlookup/fleur/blob/4ee2644a850381d928a... that jumped into my eye.
The line below that is worse:
strncpy(bloom_path , argv[optind], 128);
If you pass something >= 128 chars then bloom_path won't be null terminated. In general strncpy should never be used for copying strings.
For expansion on that: https://ramblings.implicit.net/c/2014/05/02/c-functions-that...
bloomd
-
Fleur – A bloom filter implementation in C
bloomd: a combination of SpookyHash and murmur[2]
[1]: https://llimllib.github.io/bloomfilter-tutorial/ (I'll update it to add bloomd and spooky)
[2]: https://github.com/armon/bloomd/blob/23c19a7f5cbb35d7c3d970b...
[3]: I have a vague recollection of somebody telling me why combining two hashes in the way bloomd does for k >= 4 is a good idea but I can't remember - anybody have a good reference for me to link to?
What are some alternatives?
yara-python - The Python interface for YARA
RedisBloom - Probabilistic Datatypes Module for Redis