Skip to content

myronzhangweb3/bloombits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bloom Filter Test

Build

# 生成测试地址
go build -o genaddress ./cmd/gen_address.go
# 测试布隆过滤器
go build -o bloomtest ./cmd/test_bloom.go

Generate Address

./genaddress ${生成地址数量}

example:

./genaddress 1000000000

Test Bloom

./bloomtest ${布隆过滤器长度} ${布隆过滤器哈希次数} ${导入布隆过滤器的地址文件路径} ${测试假阳率数据量}

example:

./bloomtest 1000000000 20 ./address_test/address_50w.txt 1000000
./bloomtest 1000000000 20 ./address_test/address_100w.txt 1000000

Releases

No releases published

Packages

No packages published

Languages