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

Make in-memory bloomfilters pickle-able #43

Open
stevesimmons opened this issue Oct 19, 2020 · 1 comment
Open

Make in-memory bloomfilters pickle-able #43

stevesimmons opened this issue Oct 19, 2020 · 1 comment

Comments

@stevesimmons
Copy link
Contributor

The bloomfilters don't have reduce and setstate functions and so cannot be pickled. In particular, this prevents in-memory bloomfilters being used in multiprocessing.Pool or in cloud lambda functions, etc.

Do you have any plans to add these?

I guess the easiest way to do it is adding cython functions to read/write _bf.array.

@stevesimmons
Copy link
Contributor Author

I had a go at solving this here:
#44

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