WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
267264
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
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2024-01-09 02:54:29 PST
Pull request:
https://github.com/WebKit/WebKit/pull/22540
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
<
rdar://problem/120757979
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug