benchmark: exclude merge sort

This commit is contained in:
Daniel Langbein 2024-12-17 16:38:41 +00:00
parent b730c34ddd
commit a7a6f9e246
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -5,7 +5,7 @@ import de.uni_marburg.powersort.benchmark.NaturalOrder;
public enum SortEnum {
// BUBBLE_SORT,
MERGE_SORT,
// MERGE_SORT,
TIM_SORT,
FINN_SORT,
ASORT;
@ -13,7 +13,7 @@ public enum SortEnum {
public SortImpl getSortImpl() {
return switch (this) {
// case BUBBLE_SORT -> array -> BubbleSort.sort(array, NaturalOrder.INSTANCE);
case MERGE_SORT -> array -> MergeSort.legacyMergeSort(array, NaturalOrder.INSTANCE);
// case MERGE_SORT -> array -> MergeSort.legacyMergeSort(array, NaturalOrder.INSTANCE);
case TIM_SORT -> array -> TimSort.sort(array, 0, array.length, NaturalOrder.INSTANCE, null, 0, 0);
case FINN_SORT -> array -> FinnSort.sort(array, NaturalOrder.INSTANCE);
case ASORT -> array -> ASort.sort(array, NaturalOrder.INSTANCE);