最新使用方法如下,没有add和check函数
pip install bloomfilter-py
from bloomfilter import BloomFilter
bloom_filter = BloomFilter(expected_insertions=500, err_rate=0.01)
bloom_filter.put(1)
res = 1 in bloom_filter
jz blog
最新使用方法如下,没有add和check函数
pip install bloomfilter-py
from bloomfilter import BloomFilter
bloom_filter = BloomFilter(expected_insertions=500, err_rate=0.01)
bloom_filter.put(1)
res = 1 in bloom_filter
发表回复