It is good practice to reserve space in vectors before pushing back new elements with each iteration, as it saves the work of reallocating space between each push_back or emplace_back.
Pull request: https://github.com/WebKit/WebKit/pull/10688
Committed 261092@main (8292d20a046a): <https://commits.webkit.org/261092@main> Reviewed commits have been landed. Closing PR #10688 and removing active labels.
<rdar://problem/106160494>