The performance-inefficient-vector-operation check applied in #911 did provide a couple interesting opportunities to reserve vector memory to try and avoid re-allocations.
As this check is limited to very simple loops, we could probably spot other situations where using reserve would make sense, hopefully in hotter part of the code.
The performance-inefficient-vector-operation check applied in #911 did provide a couple interesting opportunities to
reservevector memory to try and avoid re-allocations.As this check is limited to very simple loops, we could probably spot other situations where using
reservewould make sense, hopefully in hotter part of the code.