mirror of
https://github.com/lua/lua
synced 2026-06-08 15:34:49 +00:00
d12262068d
Checks of the form '1 <= x && x <= M' were rewritten in the form '(unsigned)x - 1 < (unsigned)M', which is usually more efficient. (Other similar checks have similar translations.) Although some compilers do these optimizations, that does not happen for all compilers or all cases.