[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Userdata environment
- From: Mike Pall <mikelu-0804@...>
- Date: Wed, 2 Apr 2008 14:51:34 +0200
Shmuel Zeigerman wrote:
> Roberto Ierusalimschy wrote:
>> It seems we can compensate this effect by changing the collector settings.
>> For instance, with collectgarbage("setpause", 150) I got the following
>> Maybe the default should be changed.
> Is there a way for an application to find out current values of pause and
> For instance, some library function may want to change these values before
> doing its work and restore them afterwards.
This won't necessarily work. The collector thresholds are only
recalculated during the transition to the pause state. And this
may happen at any GC step (which could be outside your code).
BTW: Shmuel, the time/timezone on your desktop is still wrong. :-)