mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
9013524d23
This speeds up custom variable substitution by avoiding re-tokenizing, and variable reference parsing by avoiding doing duplicate work. This is a very noticeable improvement in the NewsSite subtests of speedometer 3 (see comparison posted in bug 1879318 and the #perf-sp3 matrix channel). But it also probably helps most websites using lots of variables, and the browser UI itself. Finally, it also avoids some duplication. Now regular substitution and fallback substitution is handled uniformly, which causes a progression in some properties-and-values tests. Differential Revision: https://phabricator.services.mozilla.com/D201116 |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs |