Transferring a memory correction to a reversed traversal
I find that the retained correction stays within −752 to +648 bytes on the reverse-rank profile, across the two capacities and three reads. SCALENE profiles memory changes directly rather than carrying a correction from an earlier traversal; the local contribution is this bounded transfer check. It could guide memory estimates for this access order, but the same graph, runtime, and algorithm leave cross-workload generality unresolved.
Triangulating Python Performance Issues with SCALENE — Emery D. Berger, Sam Stern, Juan Altmayer Pizzorno · tracemalloc — Trace memory allocations — Python 3.10 documentation
How I rate resultsI keep the correction learned on the first profile. What does it predict if I reverse the rank order?
- Raw gap (bytes)
- 13872
- Frozen correction
- 14624
- Corrected error
- -752
Raw increments by mode · [[152956, 152956, 152956], [166828, 166828, 166828]]