jasondavies / bloomfilter.js

JavaScript bloom filter using FNV for fast hashing
http://www.jasondavies.com/bloomfilter/
BSD 3-Clause "New" or "Revised" License
759 stars 79 forks source link

add bits and rate functions #33

Open Zergity opened 2 years ago

Zergity commented 2 years ago

bits() count the bits set in the filter rate() estimate false-positive rate