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
When we defunctionalise this, we end up with three copies of the function f: the original one, as well as copies that arise from the residual function of the static values coming from the uses of f. Apart from causing code bloat, these residual functions also will lack any function-level attributes (such as #[noinline]) of the original function.
This is bad and should be fixed.
The text was updated successfully, but these errors were encountered:
This is done by eta-expanding uses of function-typed variables. We
will still generate a wrapper function, but it will always be small,
while previously we would duplicate the entire first order code, which
can be enormous. This will be particularly important once we stop
inlining so much.
Closesdiku-dk#1968.
When we defunctionalise this, we end up with three copies of the function
f
: the original one, as well as copies that arise from the residual function of the static values coming from the uses off
. Apart from causing code bloat, these residual functions also will lack any function-level attributes (such as#[noinline]
) of the original function.This is bad and should be fixed.
The text was updated successfully, but these errors were encountered: