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
fun evaluated_case_elim x =
case x of
A a => A a
| B a b => B a b
| C a b c => C a b c;
it results in cakeml doing a heap allocation to deconstruct and reconstruct the result.
there should be an optimization that makes it rewritten to a form like
fun evaluated_case_elim x =
case x of
A a => x
| B a b => x
| C a b c => x;
and it should be done such that when #1106 is done it is
simplified into an identity function
The text was updated successfully, but these errors were encountered:
when cakeml is given
it results in cakeml doing a heap allocation to deconstruct and reconstruct the result.
there should be an optimization that makes it rewritten to a form like
and it should be done such that when #1106 is done it is
simplified into an identity function
The text was updated successfully, but these errors were encountered: