basic_string<> - useless because of its poor performance

Benjamin Kosnik bkoz@redhat.com
Mon Jul 2 12:09:00 GMT 2001


Ryszard, you'll need to post sample code before Nathan or others will be 
able to help you in any kind of constructive manner. Would you be willing 
to do this?

-benjamin

> In my program there are a lot of calls of string::push_back and string::append.
> As far as I see basic_string reallocates the storage everey time
> the push_back/append member fuction is called!



More information about the Libstdc++ mailing list