Bug 247533
| Summary: | map and compactMap functions sometimes copy the passed in collection before mapping it to a vector | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> |
| Component: | Web Template Framework | Assignee: | Darin Adler <darin> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sam, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Darin Adler
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/102000000>
Darin Adler
Pull request: https://github.com/WebKit/WebKit/pull/6178
EWS
Committed 256373@main (7ea0a5456640): <https://commits.webkit.org/256373@main>
Reviewed commits have been landed. Closing PR #6178 and removing active labels.