[Patch/RFC] Speed-up istreambuf_iterator and... sorry Jon!
Paolo Carlini
pcarlini@suse.de
Sun Nov 7 21:09:00 GMT 2004
... actually, the patch can be simpler, and the result even more
efficient: operator++() and operator++(int) were already resetting
_M_c to eof when really necessary! :)
current
=======
6.130u 0.000s 0:06.16 99.5% 0+0k 0+0io 205pf+0w
iter patched (new)
==================
4.390u 0.000s 0:04.41 99.5% 0+0k 0+0io 202pf+0w
(regtested x86-linux)
Paolo.
///////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_stream_iter_3
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041107/8c566ec9/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_stream_iter_3
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041107/8c566ec9/attachment-0001.ksh>
More information about the Libstdc++
mailing list