Can tail recursion support shorten the stack for other function calls?
Can languages that support tail recursion apply the same technique to
non-recursive function calls?
For example, if the last thing that function foo does is return the value
of calling bar, might the language discard foo's stack frame?
No comments:
Post a Comment