lua-users home
lua-l archive

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


On 10/03/2010, at 6:10 AM, Mike Pall wrote:

> Geoff Leyland wrote:
>> Rima's test suite seems to fail or pass depending on whether I
>> put in print statements to try to figure out what's going on.
> 
> Ok, found the bug. The compiler miscompiles getmetatable for
> non-tables. Fixed in git HEAD. Patch against beta3 attached.
> 
> --Mike
> <beta3_getmetatable.patch>

Fixed.  Thanks!

Generating the constraint matrix for the sudoku example is the only thing I have for Rima that takes any noticeable time:

Lua    0m13.610s
LJ1    0m10.298s
LJ2b1  0m5.810s
LJ2b2  0m5.710s
LJ2b3  0m5.326s

Cheers,
Geoff