|
What's your platform? I get different results:
I used Borland CBuilder 6 on a Pentium 4, 2.66 GHz PC running Win2000. The settings for my work5 and work6 projects are exactly the same. Doubles are aligned on quad word boundaries, sizeof(TValue) == 16 in both builds.
Both use the __asm version of number2int (though this doesn't matter much for this test). Other luaconf settings are out-of-the-box.
The running times differ very consistently. Hum, something weird is going on...
An observation on your test data: Your 5.0: > recursive version took 2.950 seconds Your 5.1: > recursive version took 3.560 seconds Is this an outlier or symptomatic on your system Luiz? -- Wim