bloom 1.0.2

A basic bloom filter.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

bloom Build Status Coverage Dub

A basic bloom filter.

Documentation

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));
Authors:
  • Martin Nowak
Dependencies:
none
Versions:
1.0.2 2021-Feb-04
1.0.1 2018-May-16
1.0.0 2016-Oct-17
0.3.0 2015-Sep-30
0.2.1 2014-Nov-30
Show all 7 versions
Download Stats:
  • 16 downloads today

  • 56 downloads this week

  • 64 downloads this month

  • 99216 downloads total

Score:
2.1
Short URL:
bloom.dub.pm