WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
262935
Introduce Vector::appendContainerWithMapping(container, mapFunction)
https://bugs.webkit.org/show_bug.cgi?id=262935
Summary
Introduce Vector::appendContainerWithMapping(container, mapFunction)
Chris Dumez
Reported
2023-10-09 20:38:08 PDT
Introduce Vector::appendContainerWithMapping(container, mapFunction) and adopt throughout the code base to reduce further the use of Vector::uncheckedAppend(). This is similar to WTF::map() but can be used on an already constructor vector, potentially containing items already.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2023-10-09 20:39:44 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/18880
EWS
Comment 2
2023-10-10 10:45:19 PDT
Committed
269155@main
(a9eaa105ceee): <
https://commits.webkit.org/269155@main
> Reviewed commits have been landed. Closing PR #18880 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-10-10 10:46:14 PDT
<
rdar://problem/116747088
>
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