Description

A basic bloom filter.

Package Information

Version1.0.0 (2016-Oct-17)
Repository https://github.com/MartinNowak/bloom
LicenseBSL-1.0
CopyrightCopyright © 2013-, Martin Nowak
AuthorsMartin Nowak
Registered byMartin Nowak
Dependencies none

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

bloom Build Status Coverage Status 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));

Available versions

1.0.0 0.3.0 0.2.1 0.2.0 ~master