[Patch] Improve (more!) performance-wise __pad::_S_pad

Paolo Carlini pcarlini@unitus.it
Mon Oct 6 11:31:00 GMT 2003


Hi,

the below version, which only has the if-else tweaked, shaves
another quarter second:

baseline
--------
9.820u 0.040s 0:09.99 98.6%     0+0k 0+0io 193pf+0w

__pad_2 patch
-------------
8.550u 0.040s 0:08.63 99.5%     0+0k 0+0io 194pf+0w

Tested x86-linux. Will commit soon, if nobody objects...

Paolo.

///////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_pad_2
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031006/8033523e/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_pad_2
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031006/8033523e/attachment-0001.ksh>


More information about the Libstdc++ mailing list