Skip to content

MartinNowak/bloom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bloom Build Status Coverage Dub

A basic bloom filter.

Example

import bloom;

auto filter = BloomFilter!()(1024); // filter for 1024 entries
filter.insert(1);
assert(filter.test(1));
assert(!filter.test(2)); // might fail
filter.insert(2);
assert(filter.test(2));