Skip to content

A standard Bloom Filter implementation

License

Notifications You must be signed in to change notification settings

distrentic/plum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plum

Build plum

plum is a library of various probabilistic data structures for rust 🦀.

Currently, it only contains a fast standard bloom filter implementation.

Usage

use plum::StandardBloomFilter;

let items_count = 1_000_000;
let fp_rate = 0.01;

let mut bloom = StandarBloomFilter::new(items_count, fp_rate);
bloom.insert("item1");
bloom.contains("item1"); /* true */
bloom.contains("item2"); /* false */

Documentation

See docs.rs/plum

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)

About

A standard Bloom Filter implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages