gecko-dev/servo
Emilio Cobos Álvarez 80159f3cf5 Bug 1663618 - Speed up custom property diffing. r=boris
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
2020-09-08 10:33:03 +00:00
..
components Bug 1663618 - Speed up custom property diffing. r=boris 2020-09-08 10:33:03 +00:00
ports/geckolib Bug 1656236 - Update euclid in stylo. r=emilio 2020-08-18 17:28:27 +00:00
tests/unit Bug 1656236 - Update euclid in stylo. r=emilio 2020-08-18 17:28:27 +00:00
moz.build
rustfmt.toml