This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/7076] [3.3/3.4 regression] iostreams very slow compared with earlier gcc versions
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2004 20:37:48 -0000
- Subject: [Bug libstdc++/7076] [3.3/3.4 regression] iostreams very slow compared with earlier gcc versions
- References: <20020619054600.7076.morten@wtf.dk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From paolo at gcc dot gnu dot org 2004-01-13 20:37 -------
Well, two punctualizations:
1- Actually, 3_3 is way behind mainline for puts :( This is because the
locale cache was disabled due to leaks that couldn't be fixed in time.
But, its much faster than 3.0 and 3.1.
2- About the recent code for gets: I have removed many functions and instantiated
some more templates. Sorry for my naivete about such matters. First blush
the patch looks quite invasive, but I'm not sure if actually breaks the ABI.
If there are chances that it doesn't I would be *very* happy to work on it.
we can expect a good improvement even without the caching, probably 2-3x.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7076