3 ms·
With unmodified code and the exact same compilation command, I get: qsort: 5818 ms std::sort: 4948 ms Ubuntu 12.04 x86-64; g++ and clang++ give the same r
by frankzinger 12y ago
With unmodified code and the exact same compilation command, I get:
qsort: 5818 ms
std::sort: 4948 ms
Ubuntu 12.04 x86-64; g++ and clang++ give the same results.
EDIT: with clang and libc++, same compilation line otherwise:
qsort: 5822 ms
std::sort: 571 ms