Files
scriptc/packages/compiler/src
Chris Tate cd2b1e2574 Keep callback loop versions from nesting
A callback loop version emits its loop twice. A loop inside either copy
could be versioned again, so a nest of loops that each call a callback
built just before them (`const g = adder(i)`) doubled at every level: a
three-deep nest was emitted seven times per function.

A loop inside a callback version, or the versioned loop itself emitted
again for each copy, is no longer versioned, so a loop nest is emitted at
most twice. The outer loop keeps its version; inner loops keep their
calls as they are.
2026-10-22 09:55:01 -05:00
..
2026-10-18 15:16:17 -07:00
2026-10-22 06:55:45 -05:00
2026-10-22 06:55:45 -05:00
2026-10-22 06:55:45 -05:00
2026-10-22 06:55:45 -05:00