mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
When entering or leaving fullscreen in youtube, we spend most of the restyle time diffing custom properties, under IndexMap::eq. Turns out that IndexMap equality is not order-aware, and thus you actually need to make a hashmap lookup for each entry in the map, which is unnecessarily inefficient. Instead, just compare the iterators. See https://github.com/bluss/indexmap/issues/153. Differential Revision: https://phabricator.services.mozilla.com/D89434 |
||
---|---|---|
.. | ||
media_queries.rs | ||
mod.rs | ||
restyle_damage.rs | ||
selector_parser.rs | ||
url.rs |