[Patch] Fix libstdc++/15002 (continued)

Paolo Carlini pcarlini@suse.de
Fri Apr 23 10:23:00 GMT 2004


Hi Pétur, hi all,

the below implements your suggestion. This is what I get here,
performance-wise:

current mainline
----------------
0.970u 0.100s 0:01.06 100.9%    0+0k 0+0io 201pf+0w

old tentative patch using sungetc()
-----------------------------------
0.600u 0.090s 0:00.69 100.0%    0+0k 0+0io 202pf+0w

this patch
----------
0.210u 0.100s 0:00.31 100.0%    0+0k 0+0io 202pf+0w

Nice!

Pétur, do you like the final result? Regtesting is OK, and if I
don't hear from you, will test a little more and then commit to
mainline only, of course (for now).

Paolo.

/////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_15002_c
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040423/5d9fba39/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_15002_c
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040423/5d9fba39/attachment-0001.ksh>


More information about the Libstdc++ mailing list