JsonBloomfilter for Ruby and Javascript
Bloom filters are awesome but none of the implementations I could find were particularly portable. This implementation allows you to train one in Ruby or Javascript and serialise them to JSON to then reload them in the other language. Very useful for doing client side lookups of things like “valid” usernames without sharing every username in your DB.
Post a comment