Bug 262935
| Summary: | Introduce Vector::appendContainerWithMapping(container, mapFunction) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Web Template Framework | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
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
Pull request: https://github.com/WebKit/WebKit/pull/18880
EWS
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
<rdar://problem/116747088>