in-memory bloom filter in ruby