Open
Bug 1852602
Opened 1 year ago
Updated 11 months ago
Optimize EventTarget_Binding::addEventListener / removeEventListener some more
Categories
(Core :: DOM: Bindings (WebIDL), task)
Core
DOM: Bindings (WebIDL)
Tracking
()
NEW
People
(Reporter: mstange, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
addEventListener
: https://share.firefox.dev/3Zff8ge
removeEventListener
: https://share.firefox.dev/3LiTtOk
The call to new FastEventListener
shows up in profiles. At least for the removeEventListener
part, that seems like an unnecessary allocation.
It may also make sense to increase the AutoTArray
capacity for EventListenerMap::mEntries
.
Updated•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-558
Updated•11 months ago
|
Component: DOM: Events → DOM: Bindings (WebIDL)
You need to log in
before you can comment on or make changes to this bug.
Description
•