lua-users home
lua-l archive

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


Hallo,

On 4/18/06, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>
> It is slower than the non-naive approach, but I would not say that it
> is that slow, mainly if you dilute the performance penalty in a real
> application (that does other things besides accessing integer arrays).
>

     Well, this whole thread started with game programming. Some naive
programmer could flush his floating-point pipeline in some very
undesirable places and lose all the optimizations present in modern
CPUs.

--
-alex
http://www.ventonegro.org/