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

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

Dan Sugalski
February 9, 2001 13:07
Re: Garbage collection (was Re: JWZ on s/Java/Perl/)
Message ID:
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.


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai                         have teddy bears and even
                                      teddy bears get drunk Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About