Stable simplification toward retained RRT cost
Start: 56e23fba. The goal is substantially fewer metered instructions,
approaching retained RRT on the complete matched Heavy16 workload. Simplifying
machinery is one method, not the acceptance criterion. Stable-specific buffering,
metadata, indexes or batching are worthwhile when their measured savings exceed
their own costs; stable reads/writes copy and are charged differently from native
retained access.
Qualified controls are retained 42b8da18… at 105,261,812,195 instructions /49
rounds and stable 839eeb49… at 1,132,909,046,630 /179. Exact source, settings,
raw traces and caveats are in the previous combined report.
| Lane | Experiment | Owner |
|---|---|---|
| Ownership | Typed snapshots and compact ownership identities, fewer record opens | stable3_identity |
| Sequential collections | Bounded Queue windows/prefix retirement and Vec operations | stable3_queue |
| Immutable bytes | Single materialization and sharing exact saved request bytes | stable3_bytes |
| Fixed records | Bounded encoding workspace and concise typed field projections | stable3_records |
| IC review | Source costs, lifetime/ownership review, artifact and trace audits | stable3_ic |
| Small node sets | Sorted stable Vec matching the native singleton policy | root |
Independent candidates use sparse worktrees and exclusive warm build targets. Keep source/output guards and checksum freshness; reuse qualified controls. Screen coherent changes, then compare uninstrumented complete Heavy16 and run applicable native and actual IC upgrade/rollback gates before promotion. Report tradeoffs and unsuccessful experiments. No legacy readers, unmeasured general allocator cache, local journal, ordinary-heap durable substitute, omitted work or relaxed workload settings. Retained kernel anchors remain accepted.
The arena owns allocation and bounded bytes. Collections choose layouts/read windows and buffer reuse; scratch writes/copies are charged too. Dynamic liveness checks may be combined under a valid provider borrow, not removed by assuming ContextLoan pins an allocation.
Selected implementation and qualification are recorded in integrated.md: main source 2718742c, Wasm b230329b, 745,060,274,341 instructions /123 rounds, 34.2348% fewer instructions than the starting stable control. It still costs 7.0780 times the qualified retained control. Individual lane savings are not additive; rejected and non-transferring experiments remain evidence only. See the compact receipt for exact source/artifact/native/lifecycle pins.