0
Отвечен
sort performance
what is the performance of sort function of this toolbox?
Are there any comparison studies?
Ответ
+1
Ответ
Отвечен
We use quicksort algorithm, which is pretty much de-facto standard in all programming languages.
If we compare sort speed of our toolbox and VPA:
>> A = vpa(rand(10000,1));
>> tic; sort(A); toc;
Elapsed time is 0.065205 seconds.
>> A = rand(10000,1,'mp');
>> tic; sort(A); toc;
Elapsed time is 0.003493 seconds.
So, our toolbox is ~19 times faster.
Сервис поддержки клиентов работает на платформе UserEcho
We use quicksort algorithm, which is pretty much de-facto standard in all programming languages.
If we compare sort speed of our toolbox and VPA:
So, our toolbox is ~19 times faster.