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

--- Comment #7 from Andrei Alexandrescu <and...@erdani.com> ---
(In reply to Andrei Alexandrescu from comment #6)
> https://github.com/D-Programming-Language/phobos/pull/3922

With this PR and the command line:

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

the output is:

sort-sort2 benchmarks (milliseconds), N=6000000:
  Random distribution:
    sort:     696
    sort2:    680
  Already sorted arrays:
    sort:     122
    sort2:    113
  Inverted order arrays:
    sort:     132
    sort2:    224
  Few random doubles appended to the sorted arrays:
    sort:     244
    sort2:    234

--

Reply via email to