NeutrinoSort (as a proprietary product of Eightomic) is the evolved stable sort that has low-footprint implementation (efficient memory usage and small code size), no division/modulus/multiplication operators and ultra-fast speed (relative to the aforementioned constraints).
Each mention of NeutrinoSort refers to both of the following variants individually (neutrinosort0 and neutrinosort64) implemented in C.
The integral type of each element in elements must match the integral type of element.
Each of the following speed benchmark results (with gcc -O0 from an AMD A4-9120C) log the fastest process execution speed (in milliseconds) among several repetitions of sorting varying rounds of varying elements_length pseudorandom elements elements in a blocking loop.
The neutrinosort0 function sorts (in stable ascending integral order) an elements array of elements_length elements (in place with no auxiliary array).
elements_length Rounds Elapsed Elapsed
(neutrinosort0) (optimized_insertion_sort)
5 1m 155ms 156ms
10 500k 208ms 212ms
50 100k 394ms 471ms
100 10k 133ms 155ms
500 1k 241ms 368ms
1k 100 90ms 134ms
5k 5 105ms 163ms
10k 1 85ms 130ms
25k 1 560ms 824ms
neutrinosort64 (in place with a 64-element auxiliary array) isn't developed yet.
