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
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to