Bug 255443

Summary: Avoid useless copy of CSSSelectorList when there is no nesting parent selector to resolve
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matthieu Dubet 2023-04-14 01:10:37 PDT
We should optimize the most frequent case (non nested rule) by avoiding an unnecessary copy.
Comment 1 Radar WebKit Bug Importer 2023-04-14 01:10:58 PDT
<rdar://problem/108037598>
Comment 2 Matthieu Dubet 2023-04-14 01:21:07 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12735
Comment 3 EWS 2023-04-14 03:51:02 PDT
Committed 262953@main (547e70e42ef9): <https://commits.webkit.org/262953@main>

Reviewed commits have been landed. Closing PR #12735 and removing active labels.
Comment 4 EWS 2023-04-18 15:09:35 PDT
Committed 259548.651@safari-7615-branch (019aecf27efd): <https://commits.webkit.org/259548.651@safari-7615-branch>

Reviewed commits have been landed. Closing PR #551 and removing active labels.