This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/15002] [3.4 only] Linewise stream input is unusably slow (std::string slow)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Apr 2004 15:42:55 -0000
- Subject: [Bug libstdc++/15002] [3.4 only] Linewise stream input is unusably slow (std::string slow)
- References: <20040418140629.15002.aaron@isotton.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-26 15:42 -------
This is now fixed on the mainline:
tin:~/src/gnu/gcctest/iotest/iotest>time ./streams2
0.100u 0.040s 0:00.14 100.0% 0+0k 0+0io 205pf+0w
tin:~/src/gnu/gcctest/iotest/iotest>time ./stdio
0.080u 0.050s 0:00.14 92.8% 0+0k 0+0io 85pf+0w
tin:~/src/gnu/gcctest/iotest/iotest>time ./streams
0.420u 0.070s 0:00.49 100.0% 0+0k 0+0io 208pf+0w
Which makes using streams to very close to running stdio.
Paolo says he is going to try to get this into 3.4.1 also.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.4.0
Known to work| |3.5.0
Summary|Linewise stream input is |[3.4 only] Linewise stream
|unusably slow (std::string |input is unusably slow
|slow) |(std::string slow)
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15002