[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Adding Base Types to Lua
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 07 May 2003 09:45:05 -0300
> 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