Personally I tend not to think of the overhead of recursion. If the algorithm is more clearly coded for me recursively, I just do it and worry about optimization later if I need to. (Later usually doesn't come.)
In reply to Re: Tail Recursion in Perl
by tilly
in thread Tail Recursion in Perl
by stvn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |