Commit 9d38eba
perf(reg-vm): enable DeepCopy elision by default (Phase 2 flip)
Flip RSS_VM_ELIDE_DEEPCOPY default OFF -> ON now that the optimization is proven
parity-preserving and profitable. Unset = elision on; RSS_VM_ELIDE_DEEPCOPY=0
(or off/false/no) restores the byte-identical eager-copy lowering for instant
rollback.
Justification (all with elision active / default):
- runtime 455/0, differential 33/0
- extended generative differential 33/0 @ PROPTEST_CASES=2000 (~25 min fuzzing)
- soak 7/0, cost-model 1/0
- native flat-param telemetry intact (native_call_flat_int/float_param), aliasing
counter-example held (native_store_reload_mutate_non_mut_heap_param_does_not_leak)
- ~14x on the deep-copy-heavy kernel (deepcopy_read_param.rss: 2.5s -> 0.17s)
- rollback path (elision off) re-verified byte-identical (runtime 455/0)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 11d3a2d commit 9d38eba
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1830 | 1830 | | |
1831 | 1831 | | |
1832 | 1832 | | |
1833 | | - | |
1834 | | - | |
1835 | | - | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
1839 | 1842 | | |
1840 | 1843 | | |
1841 | 1844 | | |
1842 | | - | |
| 1845 | + | |
1843 | 1846 | | |
1844 | 1847 | | |
1845 | 1848 | | |
1846 | 1849 | | |
1847 | | - | |
| 1850 | + | |
1848 | 1851 | | |
1849 | 1852 | | |
1850 | 1853 | | |
| |||
0 commit comments