Bug 264114
| Summary: | Optimize WTF::compactMap() | ||
|---|---|---|---|
| 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
Optimize WTF::compactMap() by having it initialize vector capacity and rely on Vector's unsafeAppendWithoutCapacityCheck(), similarly to WTF::map().
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/19907
EWS
Committed 270194@main (c1279eabfb21): <https://commits.webkit.org/270194@main>
Reviewed commits have been landed. Closing PR #19907 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/117915643>