When the underlying vector becomes full, it resizes, remaps, and then copies over the old data. To avoid thes excess allocations, allow reservation from the backing vector. Differential Revision: https://reviews.llvm.org/D135119
4.0 KiB
4.0 KiB