RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

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.

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!