linvon / cuckoo-filter

Cuckoo Filter go implement, better than Bloom Filter, configurable and space optimized 布谷鸟过滤器的Go实现,优于布隆过滤器,可以定制化过滤器参数,并进行了空间优化
MIT License
294 stars 28 forks source link

readme: Make it clear that b=4 in TableTypePacked #2

Closed EladGabay closed 3 years ago

EladGabay commented 3 years ago

When creating a filter it's not clear that if the type isTableTypePacked the provided tagsPerBucket is ignored and always b=4. Therefore clarify it in the README.

Should consider making it more clear in the code (e.g. 2 different new filter functions per type with no option to adjust b for "packed" type)