コード例 #1
0
 public static void BottomUpMergeSort <T, TOrder>(this SortableSpan <T, TOrder> sortableSpan)
     where TOrder : struct, IOrdering <T>
 => OrderingsFor <T> .WithOrder <TOrder> .BottomUpMergeSort(sortableSpan.Order, sortableSpan.Block);
コード例 #2
0
 public static void DualPivotQuickSort <T, TOrder>(this SortableSpan <T, TOrder> sortableSpan)
     where TOrder : struct, IOrdering <T>
 => OrderingsFor <T> .WithOrder <TOrder> .DualPivotQuickSort(sortableSpan.Order, sortableSpan.Block);
コード例 #3
0
 public static void InsertionSort_ForVerySmallArrays <T, TOrder>(this SortableSpan <T, TOrder> sortableSpan)
     where TOrder : struct, IOrdering <T>
 => OrderingsFor <T> .WithOrder <TOrder> .InsertionSort_ForVerySmallArrays(sortableSpan.Order, sortableSpan.Block);