
13 Nov
2004
13 Nov
'04
3:08 p.m.
Valentin Samko <boost@digiways.com> writes:
RN> Do you have specific advice/experience for Linux's g++ that might improve or RN> explain what we're seeing here?
g++ does NRVO, which some popular optimising compilers (like VC++ 7.1) do not do. In my experience, some programs compiled with g++ are noticeably faster than when compiled with vc++ 7.1, mainly due to the NRVO. Afaik, NRVO it not implemented in VC++ 7.1 because it conflicts with the current C++ standard (3.7.2).
What makes you think it conflicts with the C++ standard? Anyway, nothing you can say in favor of G++'s optimization capabilities will help the OP improve or explain the slowdowns he's seeing, will it? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com