This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/15002] 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: 18 Apr 2004 14:47:00 -0000
- Subject: [Bug libstdc++/15002] 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-18 14:46 -------
Well for the mainline it is already faster:
tin:~/src/gnu/gcctest/iotest/iotest>time ./streams
3.510u 0.040s 0:03.69 96.2% 0+0k 0+0io 202pf+0w
tin:~/src/gnu/gcctest/iotest/iotest>time ./streams2
0.420u 0.040s 0:00.69 66.6% 0+0k 0+0io 200pf+0w
tin:~/src/gnu/gcctest/iotest/iotest>time ./stdio
0.090u 0.060s 0:00.14 107.1% 0+0k 0+0io 80pf+0w
But since this has never been fast, it is an enhancement.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15002