Skip to content

BloomFilter implementation in Java that uses Murmur3 for fast hashing

License

Notifications You must be signed in to change notification settings

prasanthj/bloomfilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BloomFilter Build Status

BloomFilters are probabilistic data structures for set membership check. BloomFilters are highly space efficient when compared to using a HashSet. Because of the probabilistic nature of bloom filter false positive (element not present in bloom filter but test() says true) are possible but false negatives are not possible (if element is present then test() will never say false). The false positive probability is configurable (default: 5%) depending on which storage requirement may increase or decrease. Lower the false positive probability greater is the space requirement. Bloom filters are sensitive to number of elements that will be inserted in the bloom filter. During the creation of bloom filter expected number of entries must be specified. If the number of insertions exceed the specified initial number of entries then false positive probability will increase accordingly. Internally, this implementation of bloom filter uses Murmur3 (from here) fast non-cryptographic hash algorithm.

Variants

This repo has following implementations of bloom filters

There are many excellent references for bloom filters. Some of them are

Issues

Bug fixes or improvements are welcome! Please fork the project and send pull request on github. Or report issues here https://github.com/prasanthj/bloomfilter/issues

License

Apache 2.0 licensed.

About

BloomFilter implementation in Java that uses Murmur3 for fast hashing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages