|Just another Perl shrine|
Re: problem prototyping a self-recursing functionby frankus (Priest)
|on Dec 07, 2001 at 16:26 UTC||Need Help??|
You probably already know this, or perhaps don't need to hear it.
Recursion makes for biig overheads, and without exception anything using recursion can be done with loops.
Part of the reason that people use recursion is to map the solution
precisely to the problem set,
Now this is probably redundant information, or at worst seems like bigotry, but
believe me, I've used recursion in LISP for years, but whilst I enjoyed it, it's not effecient.
If you're just doing this as an exercise in recursion, that's fine, otherwise I'd advocate developing