This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: basic_string<> - useless because of its poor performance



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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]