Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当BLOOMFILTER_BIT设置为30时, 起不到去重效果。 #2

Open
Friday21 opened this issue Sep 18, 2018 · 0 comments
Open

当BLOOMFILTER_BIT设置为30时, 起不到去重效果。 #2

Friday21 opened this issue Sep 18, 2018 · 0 comments

Comments

@Friday21
Copy link

当BLOOMFILTER_BIT设置为30时, 起不到去重效果。

> fp = '75d6587d87b3f4f3aa574b33dbd69ceeb9eafe7b'
> bf = BloomFilter(server, 'ldy4', 30, 6)
> bf.exists(fp)
0
> bf.insert(fp)
> bf.exists(fp)
0

当BLOOMFILTER_BIT 设置为22时没有问题, 不知道是什么原因

@aesdhj
Copy link

aesdhj commented Oct 2, 2018

当BLOOMFILTER_BIT设置为30时, 起不到去重效果。

> fp = '75d6587d87b3f4f3aa574b33dbd69ceeb9eafe7b'
> bf = BloomFilter(server, 'ldy4', 30, 6)
> bf.exists(fp)
0
> bf.insert(fp)
> bf.exists(fp)
0

当BLOOMFILTER_BIT 设置为22时没有问题, 不知道是什么原因

我也在看这本书,为这本书建了一个QQ群805370297,方便大家讨论

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants