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
Chris Dumez
Comment 1 2022-05-25 10:49:30 PDT
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
Note You need to log in before you can comment on or make changes to this bug.