Bucketsort: Difference between revisions
Content added Content deleted
Line 54: | Line 54: | ||
BucketSort Array(), BS_Local_Last_Insert_Index, BS_Local_Current_Insert_Index - 1, order&, 0 |
BucketSort Array(), BS_Local_Last_Insert_Index, BS_Local_Current_Insert_Index - 1, order&, 0 |
||
ELSE |
ELSE |
||
'* using MergeSort will speed this significantly, however, this will be left as an exercise |
|||
'* MergeSort will keep this sorting algorithm quite competitive. |
|||
InsertionSort Array(), BS_Local_Last_Insert_Index, BS_Local_Current_Insert_Index - 1, order& |
InsertionSort Array(), BS_Local_Last_Insert_Index, BS_Local_Current_Insert_Index - 1, order& |
||
END IF |
END IF |