develooper Front page | perl.perl5.porters | Postings from January 2008

Re: For 5.12: tail calls for methods

Thread Previous | Thread Next
Dave Mitchell
January 18, 2008 04:23
Re: For 5.12: tail calls for methods
Message ID:
On Thu, Jan 17, 2008 at 01:46:50PM -0500, Stevan Little wrote:
> >And how do you want to detect that?
> Simple, if the last call is to the same function, then it tail-recurses.

That implies adding an extra test into every sub call, which we try to
make as fast as possible.

Art is anything that has a label (especially if the label is "untitled 1")

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About