Patch: improving performance of basic_string modification functions

Ryszard Kabatek Ryszard.Kabatek@softax.pl
Wed Aug 22 23:09:00 GMT 2001


Benjamin Kosnik wrote:
> 
> I would prefer if the testsuite was augmented to deal with basic
> performance analysis issues before too much stuff like this gets checked in.
> 
> Any thoughts on how to do this?

Now, since the most stuff of libstdc++ is implemented it would be nice
to have a performance testsuite. For proffessional use the performance is
an important issue.


An aspect regarding my patch. Currently basic_string allocates only the
neccessary amount of storage, that strategy must lead to a low performance. 
It is a design problem. Perhaps there are other suspected places in the library...

Regards
-- 
Ryszard Kabatek



More information about the Libstdc++ mailing list