mirror of https://github.com/lua/lua.git
Browse Source
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.pull/22/head
Roberto Ierusalimschy
6 years ago
4 changed files with 20 additions and 11 deletions
Loading…
Reference in new issue