RESOLVED FIXED308398
Eliminate memory allocation in TreeScope::retargetToScope
https://bugs.webkit.org/show_bug.cgi?id=308398
Summary Eliminate memory allocation in TreeScope::retargetToScope
Ryosuke Niwa
Reported 2026-02-21 13:13:52 PST
Rewrite TreeScope::retargetToScope to avoid memory allocation. We use the same strategy as commonInclusiveAncestorAndChildren in Node.cpp.
Attachments
Ryosuke Niwa
Comment 1 2026-02-21 13:21:04 PST
EWS
Comment 2 2026-02-21 21:23:14 PST
Committed 308002@main (e57ff52d6600): <https://commits.webkit.org/308002@main> Reviewed commits have been landed. Closing PR #59173 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-02-21 21:24:11 PST
Note You need to log in before you can comment on or make changes to this bug.