Bug 258912

Summary: CustomElementQueue and CustomElementReactionQueue should have an inline capacity
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: ashvayka, cdumez, koivisto, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 154907    

Description Ryosuke Niwa 2023-07-05 23:20:16 PDT
Both CustomElementQueue and CustomElementReactionQueue always contain at least one item whenever they're created.
Give them inline capacity to avoid malloc.
Comment 1 Ryosuke Niwa 2023-07-06 00:44:51 PDT
https://github.com/WebKit/WebKit/pull/15588
Comment 2 EWS 2023-07-06 16:47:40 PDT
Committed 265829@main (9b42484b8e81): <https://commits.webkit.org/265829@main>

Reviewed commits have been landed. Closing PR #15588 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-07-06 16:48:15 PDT
<rdar://problem/111877419>