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
Chris Dumez
Comment 1 2023-10-09 20:39:44 PDT
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
Note You need to log in before you can comment on or make changes to this bug.