Minima write pipelines — 2026-10-22
Matched wasm64 PocketIC results for all 26 families: 156 pipelines, each
with 32 fresh calls, after an unmeasured warm-up. Selected compiled source:
2512e70ea26cf466d612e3302151fc38eafeec0d. Instructions: 148 lower,
0 equal, 8 higher. Every saved business output matches.
These are complete temporary lifecycles: construction, input preparation, mutations or frozen replacement, verification and retirement. They are not isolated insert costs or a throughput average. Tables show mean instructions per call, rounded; the CSV and matched JSON retain every function at 1, 32, 256 and 1,024 inputs, including positive deltas.
Scalar / build pipelines at 1,024 inputs
| Collection / pipeline | Before | After | Change | Heap fees before → after |
|---|---|---|---|---|
| FixedVec | 2,370,859 | 2,289,927 | -3.41% | 720,000 → 720,000 |
| SlotArena | 5,770,376 | 5,687,393 | -1.44% | 1,200,000 → 1,200,000 |
| BitmapSet | 3,441,129 | 3,267,047 | -5.06% | 720,000 → 720,000 |
| FrozenHashMap | 13,343,386 | 13,343,152 | -0.00% | 1,040,000 → 1,040,000 |
| FrozenHashSet | 22,146,939 | 22,146,705 | -0.00% | 1,040,000 → 1,040,000 |
| FrozenSortedMap | 21,521,514 | 21,521,280 | -0.00% | 720,000 → 720,000 |
| FrozenPrefixSums | 2,119,391 | 2,119,157 | -0.01% | 720,000 → 720,000 |
| BlockedBloomFilter | 2,188,992 | 2,188,875 | -0.01% | 720,000 → 720,000 |
| MinimaHll | 3,511,140 | 3,510,776 | -0.01% | 720,000 → 720,000 |
| CountMinSketch | 9,065,004 | 9,064,653 | -0.00% | 1,040,000 → 1,040,000 |
| BlockedCountingBloom | 7,282,260 | 7,282,143 | -0.00% | 720,000 → 720,000 |
| CuckooFilter | 5,854,689 | 5,026,654 | -14.14% | 720,000 → 720,000 |
| FrozenBinaryFuse | 9,711,608 | 9,711,374 | -0.00% | 1,040,000 → 1,040,000 |
| FrozenRibbon | 17,690,582 | 17,631,708 | -0.33% | 1,040,000 → 1,040,000 |
| RatelessIBLT | 43,841,297 | 43,181,192 | -1.51% | 720,000 → 720,000 |
| MementoFilter | 6,848,899,906 | 271,238,437 | -96.04% | 1,200,000 → 720,000 |
| SetSketch | 45,136,522 | 45,096,261 | -0.09% | 720,000 → 720,000 |
| BreadcrumbFilter | 9,632,853 | 9,621,485 | -0.12% | 720,000 → 720,000 |
| QSketch | 45,993,598 | 45,953,337 | -0.09% | 720,000 → 720,000 |
| OmniSketch | 39,359,711 | 6,940,510 | -82.37% | 720,000 → 720,000 |
| DDSketch | 4,844,640 | 4,825,794 | -0.39% | 720,000 → 720,000 |
| ExaLogLog | 4,053,119 | 4,012,858 | -0.99% | 720,000 → 720,000 |
| FrozenZor | 16,669,974 | 16,669,740 | -0.00% | 1,520,000 → 1,520,000 |
| AerisFilter | 8,930,361,843 | 8,455,675,492 | -5.32% | 1,377,500 → 1,335,000 |
| ExternalGraphSketch | 36,582,275 | 36,588,206 | +0.02% | 1,200,000 → 1,200,000 |
| FrozenPhobic | 16,704,827 | 16,687,755 | -0.10% | 1,200,000 → 1,200,000 |
Batch / alternate pipelines at 1,024 inputs
| Collection / pipeline | Before | After | Change | Heap fees before → after |
|---|---|---|---|---|
| FixedVec | 1,801,661 | 1,801,547 | -0.01% | 720,000 → 720,000 |
| BitmapSet | 3,441,129 | 2,064,690 | -40.00% | 720,000 → 720,000 |
| BlockedBloomFilter (from_keys) | 2,156,736 | 2,156,619 | -0.01% | 720,000 → 720,000 |
| MinimaHll | 3,459,664 | 3,202,930 | -7.42% | 720,000 → 720,000 |
| CountMinSketch | 7,763,664 | 7,763,313 | -0.00% | 1,040,000 → 1,040,000 |
| BlockedCountingBloom | 16,618,073 | 16,644,736 | +0.16% | 1,040,000 → 1,040,000 |
| MementoFilter | 6,848,899,906 | 34,078,889 | -99.50% | 1,200,000 → 1,200,000 |
| SetSketch | 100,115,219 | 100,088,244 | -0.03% | 720,000 → 720,000 |
| QSketch | 43,310,146 | 43,283,171 | -0.06% | 1,040,000 → 1,040,000 |
| DDSketch | 4,756,389 | 4,709,025 | -1.00% | 1,040,000 → 1,040,000 |
| ExaLogLog | 3,914,689 | 3,887,714 | -0.69% | 720,000 → 720,000 |
| AerisFilter | 8,805,361,842 | 72,735,365 | -99.17% | 1,335,000 → 1,365,000 |
| ExternalGraphSketch (star graph) | 43,839,110 | 43,719,619 | -0.27% | 1,200,000 → 1,200,000 |
The new BitmapSet, Memento and Aeris batch rows compare scalar baseline work with the grouped API. They preserve business results and logical operations, but move positive probes before deletion; their intermediate I/O order differs. The other rows retain their original scenario definitions.
Accounting and qualification
The separate 426 existing cases record 37 lower, 367 equal, 22 higher instruction costs. All 43 ordinary collection/no-op controls remain exactly equal. These cases retain their original persistent workloads and are not averaged together with the temporary write pipelines. See the complete existing-case CSV.
Complete logical-call instructions and known page counters include discarded IC execution attempts. Committed and discarded costs and attempt counts are separate CSV/JSON columns. Accessed/dirty heap-region counts describe committed attempts; unavailable discarded ranges remain explicit in raw audits. A stable write/read still incurs API/copy work, and repeated writes do not automatically repay a whole page fee. Heap fees are only one component; subtracting them does not isolate computation or remove stable-memory costs.
The largest write regression is +0.161% (Counting Bloom batch, 1,024 inputs). Heap fees are lower in five cases, equal in 150 and higher in one. The Aeris scalar 1,024-input reduction in heap counters comes entirely from the baseline's discarded attempt; committed heap regions match. Aeris batch at that size uses 30,000 more heap-fee instructions per call on average, while total instructions fall by about 99.17%. The CSV retains both effects. The other four heap-fee reductions are committed Memento scalar pipelines.
The study owns selected and rejected approaches, exact source/artifact and raw-audit proofs, native tests, install/KEEP/rejection/rollback checks, and the separate 426 existing-case comparison. Neither this fixed mix nor its concurrent host timings establishes application throughput or latency. Unchanged RRT dependencies reuse their existing qualification by source/artifact proof.