Use faster alternatives to Vector::resize() when possible. It involves calling directly Vector::shrink(), Vector::grow() or a Vector constructor.
Pull request: https://github.com/WebKit/WebKit/pull/20970
Pull request: https://github.com/WebKit/WebKit/pull/21081
Committed 271370@main (a544a2189b62): <https://commits.webkit.org/271370@main> Reviewed commits have been landed. Closing PR #20970 and removing active labels.
<rdar://problem/119020934>