This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: AIX I/O failures
Mark Mitchell <mark@codesourcery.com> writes:
| The reference approach has a performance cost that the array-of-chars
| appraoch does not.
|
| You now penalize every reference to cout, in that the linker cannot
| resolve the address statically.
Given that cout construction happens at compile/link time and that it
has to be treated identical to the refered object, there is no
reason we should have a performance cost. If that happens to be the
case on an architecture then we've an issue to resolve at the
compiler/linker level. If that performance cost (if even noticeable)
can't be solved for gcc-3.0, then it should be addressed in gcc-3.x.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com