[sf-perl] a reason to goto

Neil Heller nheller at silcon.com
Sun Feb 25 15:00:03 PST 2007

Yes, exactly.

The only time I use recursion is when traversing trees.

Neil Heller
nheller at silcon.com

-----Original Message-----
From: sanfrancisco-pm-bounces+nheller=silcon.com at pm.org
[mailto:sanfrancisco-pm-bounces+nheller=silcon.com at pm.org] On Behalf Of
Quinn Weaver
Sent: Saturday, February 24, 2007 8:39 PM
To: San Francisco Perl Mongers User Group
Subject: Re: [sf-perl] a reason to goto

On Sat, Feb 24, 2007 at 06:55:15PM -0800, Neil Heller wrote:
> In addition to a performance hit (which can be significant, depending 
> on the memory requirements of the recursive function) you might also 
> run into a trashing scenario.  Buying new hard disks can get expensive 
> and reinstalling all your software can suck.

What do you mean by "trashing scenario"?  Do you mean "thrashing", as in
swapping memory to disk, which could overstress the hard drive (I guess)?


Quinn Weaver, independent contractor  |  President, San Francisco Perl
http://fairpath.com/quinn/resume/     |  http://sf.pm.org/
SanFrancisco-pm mailing list
SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm

More information about the SanFrancisco-pm mailing list