[Patch] Speed-up money_put::do_put

Paolo Carlini pcarlini@suse.de
Sat Feb 21 17:07:00 GMT 2004


Hi,

the below reorganizes the formatting of the value component and
uses reserve for it: the final code is not less clear, shorter
and faster. For yesterday's testcase, same setup:

current
-------
6.350u 0.000s 0:06.52 97.3%     0+0k 0+0io 253pf+0w

current + patch
---------------
4.560u 0.000s 0:04.71 96.8%     0+0k 0+0io 255pf+0w


Regtested x86-linux.

Paolo.

///////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_put_su
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040221/916b318e/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_put_su
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040221/916b318e/attachment-0001.ksh>


More information about the Libstdc++ mailing list