in reply to Re: Re: Re: Pure Perl tail call optimization
in thread Pure Perl tail call optimization

It looks like you've proven that goto &sub leaks memory, but does that mean it creates a stack frame? Not necessarily. It could be doing something else that uses memory on each call. I think you'll need to go to the source to get irrefutable proof that goto &sub creates stack frames.

-sam

  • Comment on Re: Re: Re: Re: Pure Perl tail call optimization