Fastest sort of fixed length 6 int array
- by kriss
Answering to another StackOverflow question (this one) I stumbled upon an interresting sub-problem. What is the fastest way to sort an array of 6 ints ?
As the question is very low level (will be executed by a GPU):
we can't assume libraries are available (and the call itself has it's cost), only plain C
to avoid emptying instruction pipeline…