Skip to content

synodriver/lua-bloom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua binding to libbloom

local bloom = require("bloom")

local b = bloom.new(1000000, 0.01)
b:add("aaaaaa")
b:add("bbbbb")

if b:check("bbbbb") then
    print("It may be there!\n")
end

if b:check("a") then
    print("It not be there!\n")
end

b:add("a")

if b:check("a") then
    print("It now be there!\n")
end

About

lua binding to libbloom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors