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

Double the size #106

Open
heynemann opened this issue Nov 26, 2024 · 0 comments
Open

Double the size #106

heynemann opened this issue Nov 26, 2024 · 0 comments

Comments

@heynemann
Copy link

Any way you can think of that I could expand the size of the filter?

My thinking is that almost all of my users will have less than 100 items, but there are a few power users that will have thousands of items. That said I can't know beforehand, so my thinking was to have exponentially growing filters (like arrays). Start with something like 100 then grow every time I reach half of it (or near the end).

I saw some implementations of bloom filters allow merging two bloom filters of same capacity together to form a new one with double the size. I was thinking of joining my filled bloom filter with capacity N to an empty bloom filter of capacity N. Would that work? How would I go about it?

Thanks for the awesome work!

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

1 participant