http://www.perlmonks.org?node_id=590151


in reply to Misunderstanding Recursion

A good example of recursion (and the potential difficulties) is a Flood fill subroutine.

I wrote my first one on a 4mhz Tandy 1000, hit the limits on that pretty fast. Looking at how various other algorithms work to get around those issues would probably be informative as well.

-Lee
"To be civilized is to deny one's nature."