@dra2020/baseclient 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/baseclient.js +3 -2
- package/dist/baseclient.js.map +1 -1
- package/dist/util/bintrie.d.ts +1 -0
- package/lib/util/bintrie.ts +4 -2
- package/package.json +1 -1
package/dist/baseclient.js
CHANGED
|
@@ -9062,7 +9062,7 @@ class BinTrie {
|
|
|
9062
9062
|
}
|
|
9063
9063
|
}
|
|
9064
9064
|
exports.BinTrie = BinTrie;
|
|
9065
|
-
let DefaultOptions = { dedup: true };
|
|
9065
|
+
let DefaultOptions = { dedup: true, verbose: false };
|
|
9066
9066
|
class BinTrieBuilder {
|
|
9067
9067
|
constructor(coder, options) {
|
|
9068
9068
|
this.coder = coder;
|
|
@@ -9257,7 +9257,8 @@ class BinTrieBuilder {
|
|
|
9257
9257
|
good = false;
|
|
9258
9258
|
}
|
|
9259
9259
|
});
|
|
9260
|
-
|
|
9260
|
+
if (btb.options.verbose)
|
|
9261
|
+
console.log(`bintrie: total size: ${btb.u8.length}, value table size: ${btb.vtb.u8.length}`);
|
|
9261
9262
|
return bt;
|
|
9262
9263
|
}
|
|
9263
9264
|
}
|