core: reserve vector sizes as much as we can (#9118)
avoid reallocations as much as possible with a few edge cases where the reservation overshoots a tiny bit. but a few bytes of memory short term is better used then the overhead of potential reallocation.
T
Tom Englund committed
4da9b7cc5b50c346309378fbb5ae8aa07746fd33
Parent: f56153a
Committed by GitHub <noreply@github.com>
on 1/19/2025, 10:38:42 AM