On Fri, Feb 22, 2013 at 1:29 PM, Benjamin Kramer
<[email protected]> wrote:
> This may seem counter-intuitive but the POD-like optimization helps when the
> vectors grow into multimegabyte buffers. SmallVector calls realloc which knows
> how to twiddle virtual memory bits and avoids large copies.

Is this optimization something that libc++ should be doing?

-- Sean Silva
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to