Crates.io | bloomy |
lib.rs | bloomy |
version | 1.2.0 |
source | src |
created_at | 2022-09-11 20:22:40.170306 |
updated_at | 2022-09-13 09:46:00.86798 |
description | A simple Bloom filter using only two hash functions |
homepage | https://docs.rs/bloomy/ |
repository | |
max_upload_size | |
id | 663205 |
size | 411,782 |
A minimal implementation of a Bloom filter in Rust.
Bloom filters are a space-efficient probabilistic data structure invented by Burton Howard Bloom in the 1970s.
This crate combines ideas and code from various other Bloom filter crates.
The underlying bit vector implementation is adapted from existing code by Helge Wrede, Alexander Schultheiß and Lukas Simon.
In comparison with other crates, bloomy
combines the following advantages:
docs/
folder.siphasher
, from which multiple hashers are
derived, and hence doesn't depend on the bitvec
or bit-vec
crates.Add the following to your Cargo.toml
:
[dependencies]
bloomy = "1"
Check the examples/
folder for usage examples.
Licensed under the MIT license.