mirror of
https://github.com/servo/servo.git
synced 2025-07-15 11:23:39 +01:00
It's easy to construct examples where not inserting in those cases causes performance to get worse (for example, any long list of siblings that match the same selectors while having some non-effectual differences in LocalName/Class/Id/etc). And the LRU nature of the cache already does the right thing of pruning non-useful entries. Fixing this causes several hundred more sharing hits on wikipedia. MozReview-Commit-ID: L7W8vcMnHaq |
||
---|---|---|
.. | ||
checks.rs | ||
mod.rs |