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
If you do x = rec(a=10 with x) or y = f(y) or similar, the result has to be constructed in a scratch space, rather than directly into the local variable's memory, because the local is needed to build the result. The alias analysis could mark expressions where this is not needed, so that we can avoid this scratch alloc + move as much as possible. (This is already done when the expression initializes the memory, rather than replacing an existing value.)
The text was updated successfully, but these errors were encountered:
If you do
x = rec(a=10 with x)
ory = f(y)
or similar, the result has to be constructed in a scratch space, rather than directly into the local variable's memory, because the local is needed to build the result. The alias analysis could mark expressions where this is not needed, so that we can avoid this scratch alloc + move as much as possible. (This is already done when the expression initializes the memory, rather than replacing an existing value.)The text was updated successfully, but these errors were encountered: