Bug 260064 - Use ImmutableStyleProperties for presentation attribute style
Summary: Use ImmutableStyleProperties for presentation attribute style
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
URL:
Keywords: InRadar
Depends on: 260143
Blocks:
  Show dependency treegraph
 
Reported: 2023-08-11 02:12 PDT by Antti Koivisto
Modified: 2023-08-15 09:37 PDT (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 Antti Koivisto 2023-08-11 02:12:32 PDT
The mutable style here is never actually mutated after construction. Using immutable style is more memory efficient, allows deduplication and improves matched declarations cache performance.
Comment 1 Radar WebKit Bug Importer 2023-08-11 02:13:03 PDT
<rdar://problem/113741146>
Comment 2 Antti Koivisto 2023-08-11 02:16:54 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16600
Comment 3 EWS 2023-08-15 09:37:13 PDT
Committed 266914@main (257a3556e799): <https://commits.webkit.org/266914@main>

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