4 ms·
What is tail call optimization? How does it usually work? There's an implementation example on the Wikipedia page to answer this question a little bit: http://
by btipling 14y ago
What is tail call optimization? How does it usually work? There's an implementation example on the Wikipedia page to answer this question a little bit:
http://en.wikipedia.org/wiki/Tail_call http://en.wikipedia.org/wiki/Tail_call
- arb99 14y agoalso http://stackoverflow.com/questions/310974/what-is-tail-call-optimization http://stackoverflow.com/questions/310974/what-is-tail-call-... gives a decent overview
- ericbb 14y agoAnd, of course, "Debunking the 'Expensive Procedure Call' Myth, or, Procedure Call Implementations Considered Harmful, or, Lambda: The Ultimate GOTO" by Guy Steele. Available here: http://library.readscheme.org/page1.html http://library.readscheme.org/page1.html