WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
264114
Optimize WTF::compactMap()
https://bugs.webkit.org/show_bug.cgi?id=264114
Summary
Optimize WTF::compactMap()
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
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2023-11-02 14:28:07 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/19907
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
<
rdar://problem/117915643
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug