3 ms·
I see no inlining of qsort in at least two major compilers: https://godbolt.org/z/59xehaqnv https://godbolt.org/z/59xehaqnv.
by Panzerschrek 10mo ago
I see no inlining of qsort in at least two major compilers: https://godbolt.org/z/59xehaqnv https://godbolt.org/z/59xehaqnv.
- flohofwoe 10mo agoYes, that's why C++ std::sort is usually recommended over C qsort. But either compiling with -flto or providing your own fully inlineable qsort should do the trick.