cuckoo-filter
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "cuckoo-filter", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Cuckoo Filter: Better Than Bloom", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -131,3 +131,3 @@ 'use strict' | ||
fingerprint = buckets[ i ].swap(fingerprint) | ||
i ^= fingerprint.hash() % cfSize | ||
i = (i ^ fingerprint.hash()) % cfSize | ||
if (!buckets[ i ]) { | ||
@@ -140,2 +140,4 @@ buckets[ i ] = new Bucket(bSize) | ||
return true | ||
} else { | ||
continue | ||
} | ||
@@ -142,0 +144,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23666
11
733