Bug 264114

Summary: Optimize WTF::compactMap()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2023-11-02 14:25:33 PDT
Optimize WTF::compactMap() by having it initialize vector capacity and rely on Vector's unsafeAppendWithoutCapacityCheck(), similarly to WTF::map().
Attachments
Chris Dumez
Comment 1 2023-11-02 14:28:07 PDT
EWS
Comment 2 2023-11-03 11:37:25 PDT
Committed 270194@main (c1279eabfb21): <https://commits.webkit.org/270194@main> Reviewed commits have been landed. Closing PR #19907 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-11-03 11:38:16 PDT
Note You need to log in before you can comment on or make changes to this bug.