A simple Bloom filter implementation in swift.
// Setup a instance of the filter
let filter = BloomFilter<String>()
// Add an element to the filter
filter.addElement("foo")
// Test if an element is present in the filter
subject.contains("bar")
A simple Bloom filter implementation in swift.
// Setup a instance of the filter
let filter = BloomFilter<String>()
// Add an element to the filter
filter.addElement("foo")
// Test if an element is present in the filter
subject.contains("bar")