This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14078] Manipulators are slow
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Feb 2004 14:16:50 -0000
- Subject: [Bug libstdc++/14078] Manipulators are slow
- References: <20040209093043.14078.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-02-10 14:16 -------
I'm looking into this and indeed I agree that the performance problem is real.
However, I'm not sure to understand what you are really advocating on the
_library_ side (vs the _compiler_ side). In particular:
1- The concerned operator<< and operator>> are _already_ inline!
2- Nothing changes (at least for plain -O2) if the second argument is const&.
Further comments?
Thanks,
Paolo.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14078