2 ms·
> It's absoultely not true that it's equivalently complicated to tail recursion detection. Tail recursion doesn't need to be “detected”. The correct implementa
by catnaroek 9y ago
> It's absoultely not true that it's equivalently complicated to tail recursion detection.
Tail recursion doesn't need to be “detected”. The correct implementation of all tail calls, recursive or otherwise, is to overwrite the current activation record, rather than save it.