[layoutng] Preallocate some space in the layout opportunities vector
The number 8 for the initial capacity was picked at random. This seems to help especially with the float perf tests. Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: Ie4217a459848e7269c791cf864f9aab163d7895d Reviewed-on: https://chromium-review.googlesource.com/1216813Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#590095}
Showing
Please register or sign in to comment