RESOLVED FIXED267264
Make event handler house keeping in moveNodeToNewDocument more efficient
https://bugs.webkit.org/show_bug.cgi?id=267264
Summary Make event handler house keeping in moveNodeToNewDocument more efficient
Ryosuke Niwa
Reported 2024-01-09 02:39:39 PST
The code to update the number of wheel, touch, and gesture events are currently inefficient because they invoke an linear search for the total number of distinct event types. This results in O(kn) behavior where k is the number of wheel, touch, and gesture event types, and n is the total number of event listeners on a given Node.
Attachments
Ryosuke Niwa
Comment 1 2024-01-09 02:54:29 PST
EWS
Comment 2 2024-01-09 18:26:41 PST
Committed 272834@main (d2548129f178): <https://commits.webkit.org/272834@main> Reviewed commits have been landed. Closing PR #22540 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-01-09 18:27:31 PST
Note You need to log in before you can comment on or make changes to this bug.