lua-users home
lua-l archive

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


>>>>> "Ranier" == Ranier Vilela <ranier.vf@gmail.com> writes:

 Ranier> Lua C api, could also benefit from the use of unsigned int,
 Ranier> uniform, in table functions.

Using unsigned rather than signed integers is sometimes detrimental to
performance and essentially never beneficial; the reason is that the
compiler is allowed to do some optimizations with signed values that are
not allowed on unsigned ones.

-- 
Andrew.