Features
-
Large binary string constants (parser tables, embedded files, marshaled data) are now emitted as base64 literals, decoded once at initialisation. Reduces a 3 MB binary payload from 8.3 MB escaped to ~4 MB base64; gzip output drops from 5.36 MB to 4.69 MB. Merged. (#2432)
-
All runtime stubs are now generated via
gen_stubsfrom external declarations, replacing hand-written dynlink stubs. Stubs are emitted as weak symbols so native code linking JavaScript primitives can override them. Merged. (#2435) -
Prototype for Introcaml runtime introspection in JavaScript: block allocations carry a descriptor index,
Introspect.PrintandHashtbl.seeded_hash_paramwork under Node. Gated behind--enable introspection. Open. (#2430) -
Temporary alternative storing the Introcaml block descriptor in the header word instead of an Array subclass; microbenchmarks show 20–200× faster allocation on V8. Open, not intended for merge as-is. (#2433)
-
Direct one- and two-argument partial applications in double-translation mode skip an extra
caml_call_gen_directframe. Opened. (#2437) -
Wasm backend interns string constants, reusing strings already present elsewhere in the program to reduce bundle size. Opened. (#2436)
Fixes
- Effect-related fixes for the Wasm backend. Opened; merge occurred after the reporting interval. (#2434)
Compatibility and Releases
- The
tests-fullstdlib 5.6 snapshot was refreshed to match OCaml trunk drift (String.hashreordering,Set.union/Set.intershortcuts). Test-only; no changelog entry. Merged. (#2438)