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

Serialize / deserialize? #1

Open
dpc opened this issue May 2, 2017 · 3 comments
Open

Serialize / deserialize? #1

dpc opened this issue May 2, 2017 · 3 comments

Comments

@dpc
Copy link

dpc commented May 2, 2017

How would I go about saving bloom filter to a disk?

@awalias
Copy link

awalias commented Aug 21, 2019

also looking for how to do this

@dilawar
Copy link

dilawar commented May 19, 2024

I came here to ask the same question. Subscribing for updates.

Update: Potential candidate https://github.com/dpbriggs/growable-bloom-filters

@pczarn
Copy link

pczarn commented May 21, 2024

I used to maintain BitVec. It supports serialization with serde under a feature flag serde_std, so you may fork bloom and slap a serialize / deserialize with serde, plus a feature argument to bit-vec. Not sure about RandomState, you might need to implement a way to extract its state and de/serialize it.

Edit: https://github.com/contain-rs/bit-vec/blob/d3585be9e5057eee56f81fe3d5d958669bd7db74/Cargo.toml#L23

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

4 participants