Appender.reserve

void reserve(size_t newCapacity)

Reserve at least newCapacity elements for appending. Note that more elements may be reserved than requested. If newCapacity <= capacity, then nothing is done.

Parameters

newCapacitythe capacity the Appender should have