in reply to Re: Tail recursion elimination
in thread Tail recursion elimination
There's a very good reason to eliminate tail recursion (in any language): to save memory if the recursion runs deep. Unfortunately, it only works when you have tail recursion.
The other "unfortunately" is that, at least the last time I checked, goto& was slower than recursing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tail recursion elimination
by diotalevi (Canon) on Apr 28, 2006 at 20:10 UTC | |
by billh (Pilgrim) on Apr 28, 2006 at 20:27 UTC |