lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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