ixid:
This is a simple merge sorting implementation, a[0] and a[1]
are the two halves of the array to be sorted, split into an
int[][2] a array. This was done because I wanted to try
parallel but that gives these errors:
foreach(ref i;parallel(a))
mergeSort(i);
Error: template std.array.popFront(A)
You are trying to do popFront on a fixed sized array. Try to use int[][] instead of int[][2]. Bye, bearophile
