Tail/Non tail recursion
Fri Aug 29 15:32:44 CEST 2003
"Peter Lund" <peter@REDACTED> writes:
> Yes, this is what I meant even if I failed to write that into plain
> language. I have a faint memory from several years ago, that there
> was a compiler optimization for exactly this type of non-recursive
> calls, that in fact made it behave like a tail-recursive function.
> Maybe someone that KNOWS can tell us if anything like this exist.
No, there is no such optimization in Beam.
Björn Gustavsson Ericsson Utvecklings AB
+46 8 727 56 87 125 25 Älvsjö
More information about the erlang-questions