WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
240914
Move some of the work from Element::insertedIntoAncestor() / removedFromAncestor() to subclasses
https://bugs.webkit.org/show_bug.cgi?id=240914
Summary
Move some of the work from Element::insertedIntoAncestor() / removedFromAnces...
Chris Dumez
Reported
2022-05-25 10:38:49 PDT
Move some of the work from Element::insertedIntoAncestor() / removedFromAncestor() to subclasses. These functions are hot and should be kept as efficient as possible. There is no reason for every Element to pay run-time cost for checks that only apply to article or label elements.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2022-05-25 10:49:30 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/1017
EWS
Comment 2
2022-05-26 22:46:48 PDT
Committed
r294930
(
251041@main
): <
https://commits.webkit.org/251041@main
> Reviewed commits have been landed. Closing PR #1017 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2022-05-26 22:47:14 PDT
<
rdar://problem/94017378
>
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