You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, upvalues were captured at function creation time. From language
design point of view, it is a sensible choice.
It also goes directly against the Lua spec. Oops...
The fix introduces mutability tracking for ALL local variables and boxes
mutable upvalues so that they work according to the spec. Upvalues that
do not change are unchanged, which is nice for performance reasons.
Next up: Try to get constant invokedynamic call sites for upvalue
functions that never change after their creation.
0 commit comments