Front page | perl.perl6.language |
Postings from February 2001
Re: JWZ on s/Java/Perl/
From:
Robin Berjon
Date:
February 9, 2001 13:21
Subject:
Re: JWZ on s/Java/Perl/
Message ID:
4.1.20010209221739.024e1008@mail.knowscape.net
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 ?
-- robin b.
Heisenberg might have been here.