[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.1 (work1) now available
- From: Miles Bader <miles@...>
- Date: Mon, 26 Mar 2012 09:17:06 +0900
Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:
> The difference may be just the default value for some GC parameters.
> (That would also explain why 5.2 is faster; it may be running the GC
> less agressively, and therefore trading memory for time.)
Can you recommend any parameter changes to make the 5.2 garbage
collector more "5.1-like"?
As far as I can tell, the parameters described in the documentation --
"pause" and "stepmul" -- are to be the same in both 5.1 and 5.2
(200 for both)...
[BTW is there a way to get these parameters without changing them?
The only way I could see is to call e.g. "collectgarbage ('setpause')"
to get the old value and then call it again to _restore_ the old
value (the above call sets it to zero!)...]
Thanks,
-Miles
--
Occam's razor split hairs so well, I bought the whole argument!