Cuckoo filter probabilistic data structure for membership testing and cardinality counting.
This crate is on crates.io and can be
used by adding
cuckoofilter to the dependencies in your project's
[dependencies] cuckoofilter = "0.3"
And this in your crate root:
extern crate cuckoofilter;
A cuckoo filter class exposes a Bloomier filter interface, providing methods of add, delete, contains.
A minimal representation of the CuckooFilter which can be transfered or stored, then recovered at a later stage.
The default number of buckets.
If insertion fails, we will retry this many times.