Closed
Bug 1815558
Opened 1 year ago
Closed 1 year ago
Tweak nsAttrValue::Equals.
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
No description provided.
Assignee | ||
Comment 1•1 year ago
|
||
To avoid an unconditional string copy when comparing case-insensitively
(by using nsDependentAtomString).
Since the string path is not much different than the generic code-path,
just use that elsewhere.
This shows up in selector matching.
Assignee | ||
Comment 2•1 year ago
|
||
Not sure if you think this is worth it, it might be in some cases where
we have pre-atomized stuff in the container.
Depends on D169142
Assignee | ||
Comment 3•1 year ago
|
||
I saw this in the nightly profile. This makes us go into the string
which in most cases is not necessary because the lengths are different.
Depends on D169143
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4c044a18073a Tweak nsAttrValue::Equals(nsAtom*). r=smaug https://hg.mozilla.org/integration/autoland/rev/27d1755f42e0 Clean up some MiscContainer string/atom usage, and optimize atom comparison on MiscContainer. r=smaug https://hg.mozilla.org/integration/autoland/rev/000dbf4a2b28 Downgrade nsDependentString assert. r=smaug
Comment 5•1 year ago
•
|
||
Backed out changeset 27d1755f42e0 for causing multiple failures.
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b18732bf0ec Clean up some MiscContainer string/atom usage, and optimize atom comparison on MiscContainer. r=smaug
Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(emilio)
Comment 7•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4c044a18073a
https://hg.mozilla.org/mozilla-central/rev/000dbf4a2b28
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Comment 8•1 year ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•