[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Re: Neat or horrid?



Nathan Torkington wrote:
> >      goto &sum 
> 
> goto is not how you do recursion.  

goto& is how you do tail recursion elimination, in perl.

However, to my great dismay, doing the TRE is significantly
slower than recursing without tail elim... and it has gotten
worse in 5.6.

-- 
John Porter

Just another perky hacker.


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe