223. A traced VM write to an Int global is logged from the registers (2026-11-22)
- Decision. In a run nothing filters, a quiet write to a global or to a
cell of one (
TracePoint::Cell) whose shown locals are all exactInts appends to the log straight from the VM registers (Tracer::raw_write,crates/cpl-interp/src/trace/raw.rs), with no stack sync and noValueview. Any filter, a non-Intlocal or a non-Intcell takes the old path. - Why. The 10^7-step budget: scalar 8.48x to 6.46x, array 9.69x to
6.37x the untraced run, same log, same memory.
trace.rsgrows 26 lines andlib.rs4 (theView::rawfield,last_lineandunfiltered); the ratchet allowance is raised in the same commit. - Reverse. Drop
TracePoint::Cellfromcell_point; every write goes throughTracePoint::Assignagain.