Re: Optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian D. McGrew <brian@xxxxxxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux