servo/components/style/sharing
Bobby Holley 703a5c93d0 Undo #18497 in the MatchAndCascade case.
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
2017-09-15 23:21:00 -07:00
..
checks.rs Do a second pass on the sharing cache to reuse style by rule node identity. 2017-09-13 22:06:39 -07:00
mod.rs Undo #18497 in the MatchAndCascade case. 2017-09-15 23:21:00 -07:00