About std::vector::resize().

Paolo Carlini pcarlini@suse.de
Fri May 28 23:22:00 GMT 2004


Dhruv Matani wrote:

>1. _M_range_insert.
>2. _M_fill_insert.
>3. _M_insert_aux.
>4. erase (both overloads).
>5. insert.
>6. reserve
>7. resize
>8. _M_allocate_and_copy.
>
>I can prepare a patch along with a performance test-case if that's
>what's required.
>
>Is that fine?
>
Hi Dhruv.

First, thanks for your enthusiasm.

Personally, I would suggest working piecewise, beginning with the first case
that was discussed, resize. Therefore, present a draft but already 
functional
and tested patch together with some performance numbers.

Then, if we all agree about the approach, you will be able to safely proceed
with the other functions and other improvements.

Thanks again,
Paolo.



More information about the Libstdc++ mailing list