[Bug libstdc++/14078] Manipulators are slow

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Tue Feb 10 14:16:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list