Implement Tail-Call Elimination #1177
stylewarning
started this conversation in
Ideas and Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CL doesn't guarantee TCE (and some implementations famously don't have it), so I think we should try to implement at least a few idiomatic cases of it, like self-calls.
Cons:
A partial TCE implementation may not really render benefits in practice.
Most used Lisps of today have TCE in the right settings.
I think this would complicate our IR and codegen.
Beta Was this translation helpful? Give feedback.
All reactions