Skip to content

Foldlite DB 0.4.2

Latest

Choose a tag to compare

@martyn martyn released this 15 Nov 13:39
227f70b

Grouped portable view reduction

  • Add optional reduce_groups: true support to portable view ABI v1 across the native Rust engine (foldlitedb-portable-engine) and browser worker runtime (portable_assets/host.js and worker.js). Views opting in fold up to 32 groups per fresh Wasm instantiation via {"op": "reduce_groups", "groups": [...]} with automatic recursive binary splitting on 256 KiB ABI capacity, Wasmi fuel exhaustion, or explicit {"ok": {"split": true}} responses, amortizing linear-memory allocation across high-cardinality batches while preserving fresh-global isolation and identical per-key state/result checkpoints. Bundled views and existing FOLDLOG2 / .cache artifacts remain unchanged.