in reply to Re: Tail recursion elimination
in thread Tail recursion elimination

LR, you're being overly pedantic. Tail call elimination means tail call optimization, even if the words would lead one to suppose otherwise.

We're building the house of the future together.

Replies are listed 'Best First'.
Re^3: Tail recursion elimination
by Limbic~Region (Chancellor) on May 01, 2006 at 12:53 UTC
      jdporter
      Isn't that the same thing? in a stack discipline re-using a stack frame just means popping a frame and then pushing one.
      Bill H
      perl -e 'print sub { "Hello @{[shift]}!\n" }->("World")'
      Um, goto &SUB does create a new stack frame, but only after the old one is stripped off. (Shouldn't leak memory though.)
        Anonymous Monk,
        Ok - you have copied/pasted from the same node I have linked to twice now. What exactly is it that you think I am missing?

        Cheers - L~R