RESOLVED FIXED247533
map and compactMap functions sometimes copy the passed in collection before mapping it to a vector
https://bugs.webkit.org/show_bug.cgi?id=247533
Summary map and compactMap functions sometimes copy the passed in collection before m...
Darin Adler
Reported 2022-11-05 12:42:57 PDT
Noticed by code inspection that the map and compactMap functions are copying the collections passed to them. Add a test for this and fix it.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-05 12:45:01 PDT
Darin Adler
Comment 2 2022-11-05 12:49:13 PDT
EWS
Comment 3 2022-11-05 22:46:14 PDT
Committed 256373@main (7ea0a5456640): <https://commits.webkit.org/256373@main> Reviewed commits have been landed. Closing PR #6178 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.