Compare sorting algorithms' performance: Difference between revisions

Links to graphs
m (Added reversed range)
(Links to graphs)
Line 958:
=={{header|Erlang}}==
The sort routines are borrowed from [http://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort bubble sort], [http://rosettacode.org/wiki/Sorting_algorithms/Insertion_sort insertion sort] and [http://rosettacode.org/wiki/Sorting_algorithms/Quicksort quick sort]. Plots by [https://github.com/psyeugenic/eplot eplot].
Bubble sort does [http://github.com/ebengt/rosettacode/tree/master/graphs/ones.png ones] and [http://github.com/ebengt/rosettacode/tree/master/graphs/ranges.png ranges] best. Insertion sort does the[http://github.com/ebengt/rosettacode/tree/master/graphs/reversed_ranges.png reversed rangeranges] best. Quick sort handles [http://github.com/ebengt/rosettacode/tree/master/graphs/shuffleds.png shuffled numbers] best.
<lang Erlang>
-module( compare_sorting_algorithms_performance ).
Anonymous user