[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Userdata environment
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 1 Apr 2008 10:42:43 -0300
> My best guess is that the GC heuristics slow down the collector
> too much if the size of the hash slots is 32 and not 28.
It seems we can compensate this effect by changing the collector settings.
For instance, with collectgarbage("setpause", 150) I got the following
results:
20.9375
68.3876953125
79.7001953125
59.1376953125
70.4501953125
81.7626953125
45.2001953125
72.5126953125
83.8251953125
47.2939453125
74.6064453125
79.4814453125
56.0439453125
76.7001953125
69.0751953125
51.4814453125
78.7939453125
(On Linux, but compiled with -malign-double.)
Maybe the default should be changed.
-- Roberto