Bug 265423

Summary: Use faster alternatives to Vector::resize() when possible
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-11-27 20:19:19 PST
Use faster alternatives to Vector::resize() when possible. It involves calling directly Vector::shrink(), Vector::grow() or a Vector constructor.
Comment 1 Chris Dumez 2023-11-27 20:22:12 PST
Pull request: https://github.com/WebKit/WebKit/pull/20970
Comment 2 Chris Dumez 2023-11-30 21:08:02 PST
Pull request: https://github.com/WebKit/WebKit/pull/21081
Comment 3 EWS 2023-11-30 22:40:31 PST
Committed 271370@main (a544a2189b62): <https://commits.webkit.org/271370@main>

Reviewed commits have been landed. Closing PR #20970 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2023-11-30 22:41:14 PST
<rdar://problem/119020934>