hashlookup/fleur
View on GitHub ↗ ★ 116 C
Fleur implements a Bloom Filter library in C that is fully compatible with DCSO's Go and python implementations.
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2022-07-26 · latest 2022-07-28
20082026
-
> 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…
comment by shric · 2022-07-28 · in Fleur – A bloom filter implementation in C -
…why you'd consider making anything in there `static`. There is also strange code like this loop https://github.com/hashlookup/fleur/blob/4ee2644a850381d928a... that jumped into my eye. Oh and btw I believe bloom_path can cause memory…
comment by eis · 2022-07-28 · in Fleur – A bloom filter implementation in C -
▲ 83
Fleur – A bloom filter implementation in Cstory by adulau · 2022-07-26 · 20 comments