Closed
Bug 1815271
Opened 1 year ago
Closed 1 year ago
Event::GetType could avoid allocations when GetEventName(mMessage) returns a non-null value
Categories
(Core :: DOM: Events, enhancement)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
Details
Attachments
(1 file)
Right now GetEventName's return value is assigned to aType, but it could use AssignLiteral and avoid allocation. I had one performance profile where this showed up a very tiny bit, but lost the link.
patch coming
Assignee | ||
Comment 1•1 year ago
|
||
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b34aa4502224 Event::GetType could avoid allocations when GetEventName(mMessage) returns a non-null value, r=masayuki
Comment 3•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•