Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.218 kb
#!/usr/bin/env ruby
require 'bloomfilter'
bf = BloomFilter::CountingRedis.new(:ttl => 2, :server => {:host => 'localhost'})
bf.insert('test')
puts bf.include?('test')
sleep(3)
puts bf.include?('test')
puts bf.stats
Jump to Line
Something went wrong with that request. Please try again.