Increase bloom filter size
This commit is contained in:
parent
1372be9649
commit
784b20f259
@ -2,7 +2,7 @@ var bloomfilter = require("./extension/bloomfilter.js");
|
|||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
|
|
||||||
function importFile(txt, name) {
|
function importFile(txt, name) {
|
||||||
var b = new bloomfilter.BloomFilter(/*bits*/ 1207718, 20);
|
var b = new bloomfilter.BloomFilter(/*bits*/ 2300415, 20);
|
||||||
|
|
||||||
for (var line of fs.readFileSync(txt).toString().split('\n')) {
|
for (var line of fs.readFileSync(txt).toString().split('\n')) {
|
||||||
line = line.trim();
|
line = line.trim();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user