Bloom Filter
Bloom filter is a data structure that can check the element whether exists in a certain collection or not. But It probably checks in error and we call those false positive matches. More generally, average fewer than 10 bits per element are required for a 1% false positive probability, independent of the size or number of elements in the set.
Usage
let mut bf = new;
let b1 = from;
let b2 = from;
bf.add;
let filter = bf.generate;
println!; // true
println!; // false