What is the fastest sorting algorithm for a large number (tens of thousands) of groups of 9 positive double precision values, where each group must be sorted individually? So it’s got to sort fast a small number of possibly repeated double precision values, many times in a row.
The values are in the [0..1] interval. I don’t care about space complexity or stability, just about speed.
What is the fastest sorting algorithm for a large number (tens of thousands) of
Share
Sorting each group individually, merge sort would probably be easiest to implement with good results.
A sorting network would probably be the fastest solution:
http://en.wikipedia.org/wiki/Sorting_network