[Patch] Tiny improvement for libstdc++/11602

Paolo Carlini pcarlini@suse.de
Tue Nov 18 21:25:00 GMT 2003


Hi,

in order to really fix this performance problem drastic changes are
needed, most probably avoiding completely wcrtomb & co.

Anyway, the change below is really straighrforward and does a little
good. On my machine (P4-2400, -O2), for cspeed.cc, codecvt 100000:

3.4
---
15.590u 0.000s 0:15.87 98.2%    0+0k 0+0io 228pf+0w

3.4 + patch below
-----------------
9.600u 0.000s 0:09.76 98.3%     0+0k 0+0io 187pf+0w

Regression tested x86-linux. Barring objections, will commit soon.

Paolo.

//////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_out
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031118/2a07fa23/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_out
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031118/2a07fa23/attachment-0001.ksh>


More information about the Libstdc++ mailing list