Front page | perl.perl6.language |
Postings from February 2001
Re: JWZ on s/Java/Perl/
Thread Previous
|
Thread Next
From:
Dan Sugalski
Date:
February 9, 2001 13:50
Subject:
Re: JWZ on s/Java/Perl/
Message ID:
5.0.2.1.0.20010209164202.0225eeb0@24.8.96.48
At 10:21 PM 2/9/2001 +0100, Robin Berjon wrote:
>At 16:16 09/02/2001 -0500, Ken Fox wrote:
> >The general rule is the more space you "waste" the faster the collector
> >is. If you have memory to spare, then don't run the garbage collector as
> >often and your program will spend less total time garbage collecting.
> >In other words, the collection cost per object approaches zero.
> >
> >If you "need" to go faster, then waste more memory.
> >
> >If you "need" to use less memory, then go slower and collect more
> >frequently.
>
>Which (to me) seems to just beg for the question: Is this something that
>the oft discussed use {less,more} {memory,speed} pragma could hook into ?
Sure. Using it to alter the frequency of garbage collection's not an
inappropriate thing to do.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk
Thread Previous
|
Thread Next