develooper Front page | perl.perl6.language | Postings from February 2001

Re: Garbage collection (was Re: JWZ on s/Java/Perl/)

From:
Dan Sugalski
Date:
February 9, 2001 13:07
Subject:
Re: Garbage collection (was Re: JWZ on s/Java/Perl/)
Message ID:
5.0.2.1.0.20010209160627.02142138@24.8.96.48
At 06:30 PM 2/9/2001 +0000, Nicholas Clark wrote:
>On Fri, Feb 09, 2001 at 01:19:36PM -0500, Dan Sugalski wrote:
> > The less memory you chew through the faster your code will probably be (or
> > at least you'll have less overhead). Reuse is generally faster and less
> > resource-intensive than recycling. What's true for tin cans is true for 
> memory.
>
>reduce, reuse, recycle.
>The first R might also be important :-)

Oh, no doubt. Everything's got tradeoffs, the question is always "what's 
most important". In perl's case, it's speed, and memory usage is of 
secondary importance unless it impacts the speed of the program.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About