"be consistent" | |
PerlMonks |
Re: Re: Pure Perl tail call optimizationby demerphq (Chancellor) |
on Mar 09, 2004 at 19:48 UTC ( [id://335251]=note: print w/replies, xml ) | Need Help?? |
Your code is better written as
Which is more efficient, and is IMO a better example of what a compiler that optimizes tail recursion would convert it to.
---
demerphq First they ignore you, then they laugh at you, then they fight you, then you win.
In Section
Meditations
|
|