[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Performance problem with table.move
- From: Andrew Gierth <andrew@...>
- Date: Sun, 06 Dec 2020 02:17:33 +0000
>>>>> "Ranier" == Ranier Vilela <email@example.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.