servo/components/style/gecko_string_cache
Emilio Cobos Álvarez f486ef7e47
style: Add an atom bit to know whether we're ascii lowercase.
And thus massively speed up ascii-case-insensitive atom comparisons when both
atoms are lowercase (which is the common case by far).

This removes almost all the slow selector-matching in this page, and it seems
an easier fix than storing the lowercased version of all class-names in quirks
mode in elements and selectors...

Differential Revision: https://phabricator.services.mozilla.com/D10945
2018-11-17 09:56:01 +01:00
..
mod.rs style: Add an atom bit to know whether we're ascii lowercase. 2018-11-17 09:56:01 +01:00
namespace.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00