зеркало из https://github.com/mozilla/gecko-dev.git
1ccf17b7b7
This add a similar optimization as js::StaticStrings for tiny strings to the ParserAtoms mechanism. This includes (some) length 1 and length 2 atoms for fast lookup. This is effective for large minified JS files and can speed up syntax-parsing by up to 20% in some cases. We extend the atomIndex_ Variant to have new `StaticParserString{1,2}` types which we use to in toJSAtom to quickly translate to the corresponding StaticStrings. Depends on D90152 Differential Revision: https://phabricator.services.mozilla.com/D90153 |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |