lua-users home
lua-l archive

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


> 16-bit is the ideal size for most operations due to speed

Given the overhead of an interpreted language, I don't think the
difference between 16-bit and 32-bit arithmetic has any relevance.
(Of course it is better to test this...)

For floats (or doubles), if you do not use them too frequently, you
can implement them as an external type, through userdata. (Browse the
list; there was some discussion about this topic recently.)

-- Roberto