-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
Description
sortperm has poor performance compared to matlab.
julia> y = collect(1000000:-1:1);
julia> @time sortperm(y);
elapsed time: 0.0885950756072998 seconds
>> tic; [ign, p] = sort(y); toc
Elapsed time is 0.030718 seconds.
[edit - updated the issue 1/25/2012 -- ViralBShah]
pereiram5982, atthom, aminya, lassepe, PallHaraldsson and 1 more