зеркало из https://github.com/mozilla/gecko-dev.git
47de48cd69
Using a lookup table for Latin-1 lower-case conversion allows the compiler to emit the sequence `mov, cmp, setne` for ChangesWhenUpperCased resp. two `mov` instructions for ToLowerCase. This makes it faster than the current approach which requires multiple instructions for both operations. Latin-1 upper-case conversion wasn't change to use a lookup table, because not all Latin-1 characters have an upper-case representation which is also a single Latin-1 character, cf. the conversion for U+00B5, U+00DF, and U+00FF. Differential Revision: https://phabricator.services.mozilla.com/D37376 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |