https://issues.dlang.org/show_bug.cgi?id=6192

--- Comment #8 from Andrei Alexandrescu <[email protected]> ---
After a few more tweaks:

dmd -O -inline -release -run sort-benchmark.d 6000000                           

sort-sort2 benchmarks (milliseconds), N=6000000:
  Random distribution:
    sort:     702
    sort2:    689
  Already sorted arrays:
    sort:     108
    sort2:    115
  Inverted order arrays:
    sort:     154
    sort2:    215
  Few random doubles appended to the sorted arrays:
    sort:     247
    sort2:    251

--

Reply via email to