bloomfilter
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -14,7 +14,6 @@ (function(exports) { | ||
if (typedArrays) { | ||
var buffer = new ArrayBuffer(32 * n), | ||
kbytes = 1 << Math.ceil(Math.log(Math.ceil(Math.log(m) / Math.LN2 / 8)) / Math.LN2), | ||
var kbytes = 1 << Math.ceil(Math.log(Math.ceil(Math.log(m) / Math.LN2 / 8)) / Math.LN2), | ||
array = kbytes === 1 ? Uint8Array : kbytes === 2 ? Uint16Array : Uint32Array, | ||
kbuffer = new ArrayBuffer(kbytes * k); | ||
this.buckets = new Uint32Array(buffer); | ||
this.buckets = new Int32Array(n); | ||
this._locations = new array(kbuffer); | ||
@@ -21,0 +20,0 @@ } else { |
{ | ||
"name": "bloomfilter", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Fast bloom filter in JavaScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
0
6063
102