News for hackers. Stuff that matters.
Re:GCC and C vs C++ Speed, Measured by jedbrown on Thursday March 21, 2013 @10:39AM (#5415304)
The performance is the same if you put the qsort implementation in a header.

http://www.agottem.com/blog/inlining_qsort_sort

Re:GCC and C vs C++ Speed, Measured by malkia on Thursday March 21, 2013 @11:48AM (#5415887)
or use link-time compile generation (slow, and it might not work for huge projects like gcc/webkit, but if split into shared modules it can)