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 malloc and from_base64() #58

Open
pinkmuff opened this issue Jul 17, 2014 · 0 comments
Open

BloomFilter malloc and from_base64() #58

pinkmuff opened this issue Jul 17, 2014 · 0 comments

Comments

@pinkmuff
Copy link

It would be nice to be able to from_base64() to a malloc() instead of mmap().

Use case: I want to create a bloom filter of IP addresses. When a user tries to vote for something, we check their IP vs the bloom filter. If it doesn't pass, a +1 is added to the document. We store the updated bloom filter to_base64() to the same document.

On a web application, I don't want to persist these filters to disk but use a shared storage with the base64.

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