@typeberry/lib 0.8.0-1ca513b → 0.8.0-d28f33e
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/package.json
CHANGED
|
@@ -8,9 +8,9 @@ export class LmdbRoot {
|
|
|
8
8
|
constructor(dbPath, readOnly = false, ephemeral = false) {
|
|
9
9
|
this.db = lmdb.open(dbPath, {
|
|
10
10
|
// experimental options
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
noMemInit: true,
|
|
12
|
+
remapChunks: true,
|
|
13
|
+
eventTurnBatching: false,
|
|
14
14
|
// For ephemeral databases (e.g. the fuzz target, which wipes on every reset)
|
|
15
15
|
// durability is pointless, so we skip fsync and skip compressing the large
|
|
16
16
|
// per-block leaf blobs. Both are pure overhead there and dominate the cost.
|