This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Brian D. McGrew <brian@visionpro.com> writes:
> Yes, 4.5.3-SOLARIS is 10x faster than 4.7 on Solaris. 4.5.3-LINUX and
> 4.7-LINUX run about the same.
[snip]
This is a shot in the dark, but if you do a lot of output to cout and
friends, try:
std::ios_base::sync_with_stdio(false);
and see http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#8 on
the same topic.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |