lua-users home
lua-l archive

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


> No appreciable difference on my machine (Dell Precision i7 about 4
> years old) running Lua 5.2 - both take about 1.078 seconds

For some strange reason, in Lua 5.2 it seems that you have to change
«t[j], t[-j] = 0, nil» to «t[j] = 0; t[-j] = nil».

-- Roberto