Bug 265518 - [CSS] Don't construct CSSSelectorList when not needed
Summary: [CSS] Don't construct CSSSelectorList when not needed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-29 06:54 PST by Matthieu Dubet
Modified: 2023-11-29 11:02 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Dubet 2023-11-29 06:54:44 PST
CSSSelectorList is an optimized data structure which takes some time to construct.

We should doing it too early or when it's unnecessary.
Comment 1 Radar WebKit Bug Importer 2023-11-29 06:54:58 PST
<rdar://problem/118931010>
Comment 2 Matthieu Dubet 2023-11-29 07:41:51 PST
Pull request: https://github.com/WebKit/WebKit/pull/21052
Comment 3 EWS 2023-11-29 11:02:55 PST
Committed 271290@main (3ff376ea3d2a): <https://commits.webkit.org/271290@main>

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