News for hackers. Stuff that matters.
Re:Google paper comparing performance of C++, Java, Scala, a... by jongraehl on Saturday June 04, 2011 @05:44PM (#2620542)
Basically correct, except std::sort uses assignment, not copy construction.

It's also likely that the optimizer will have GetABunchOfThings construct its result once in the caller's "things". Lambdas are C++0x, so maybe move constructors (another C++0x feature) will be employed instead.

There are no comments on this comment yet.