3 ms·
Simple, you just allocate a bigger contiguous chunk of memory and copy the entire vector over when the current chunk maxes out.
by frankchn 4y ago
Simple, you just allocate a bigger contiguous chunk of memory and copy the entire vector over when the current chunk maxes out.