mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-21 19:50:35 +01:00
benchmark: exclude merge sort
This commit is contained in:
parent
b730c34ddd
commit
a7a6f9e246
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user