mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
A non-moving collector for long-lived psychoscript runs: objects, closure cells and strings are marked from the snapshot roots at the run's existing stops, freed slots go on free lists, and a minor collection sweeps only what was allocated since the last one, with a write barrier on Heap's IndexMut and on cell stores filling the remembered set. A major collection runs when the old generation doubles. With the feature off, the heap stays a Vec and instruction counts match the base. |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| tests | ||
| Cargo.toml | ||