mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-08 08:44:37 +08:00
A function with more than INLINE_DYN_RELEASES_PER_FUNCTION inline dyn releases called scr_dyn_release at every site. A script's top-level loop runs in its module initializer, which often has more sites than that, so its hottest releases became calls. The emitter now marks inline dyn releases emitted inside loops, and a body over the budget keeps up to the budget of those inline, calling the runtime at the rest.