RESOLVED FIXED 271748
Avoid tree traversal in FrameSelection::nodeWillBeRemoved in most cases
https://bugs.webkit.org/show_bug.cgi?id=271748
Summary Avoid tree traversal in FrameSelection::nodeWillBeRemoved in most cases
Ryosuke Niwa
Reported 2024-03-27 00:14:48 PDT
In most cases, node being removed doesn't contain a selection start/end/base/extent/focus/anchor. Avoid O(n) tree walk in those cases.
Attachments
Ryosuke Niwa
Comment 1 2024-03-27 00:37:41 PDT
EWS
Comment 2 2024-03-27 20:13:51 PDT
Committed 276766@main (f5e6dd1893d0): <https://commits.webkit.org/276766@main> Reviewed commits have been landed. Closing PR #26502 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-03-27 20:14:14 PDT
EWS
Comment 4 2024-03-29 22:21:59 PDT
Committed 272448.839@safari-7618-branch (75732b85bc84): <https://commits.webkit.org/272448.839@safari-7618-branch> Reviewed commits have been landed. Closing PR #1163 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.