• Hans-Christian Ebke's avatar
    Replaced super slow qsort by much faster std::sort. · 2a9499a7
    Hans-Christian Ebke authored
    std::sort is a template function so the compiler can inline the comparator
    avoiding unnecessary calls. In contrast, qsort is a non-template function
    taking a function pointer which results in one function call per comparison
    operation.
    2a9499a7