lua-users home
lua-l archive

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


> Just FYI, converting from float to int is more expensive on an x86 machine
> than many people realize, if you're using casts to convert.

Since 5.0, Lua can be configured to use a fast conversion method.
Lua 5.1 even tries to do this automatically.
--lhf