lua-users home
lua-l archive

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


> On 32 bit ARM, 64bit int is v. slow.

My machine is still a 32-bit Pentium; there, Lua with 64-bit integers 
has a quite decent performance (not faster but not slower than Lua 5.2).


> #define LUA_INTSIZE 1
> #define LUA_FLOATSIZE 2
> 
> Has this been tried?

Yes. All combinations have been tested. But in small machines, it may
be worth trying 32-ints with 32-bit floats. (The main reason Lua has
used double was to be able to exactly represent 32-bit quantities.)

-- Roberto