[v3] Fix libstdc++/16401
Paolo Carlini
pcarlini@suse.de
Wed Jul 7 12:09:00 GMT 2004
Hi,
the below fixes a serious performance regression in 3.4/mainline: when
I tweaked Nathan's rewrite of stringbuf::overflow to spare a copy, I
forgot, my bad, that now __tmp was a *new* string and I couldn't rely
on it growing automatically exponentially from the old _M_string size.
Tested x86-linux.
Paolo.
//////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_16401
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040707/c3736831/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_16401
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040707/c3736831/attachment-0001.ksh>
More information about the Libstdc++
mailing list