文件名称:cuckoofilter:Golang 中的布谷鸟哈希
文件大小:9KB
文件格式:ZIP
更新时间:2024-06-30 17:57:09
Go
布谷鸟过滤器 这是的 Golang 实现 用法 基本用法: // Create a cuckoo table with 10,000 buckets, 4 entries per bucket, using // 5 bytes per fingerprint representation. Allow 500 iterations of the cuckoo // displacement before failing on insert. table := NewCuckooTable ( 10000 , 500 , 4 , 5 ) table . Insert ([] byte ( "Hello World" )) table . Lookup ([] byte ( "Hello World" )) // true table . Size () // 0 table . St
【文件预览】:
cuckoofilter-master
----.travis.yml(115B)
----cuckoofilter()
--------cuckootable_test.go(6KB)
--------cuckootable.go(5KB)
----LICENSE(11KB)
----main.go(1KB)
----README.md(2KB)