Browse Source

Added merge algorithm

AngelRomero5 2 years ago
parent
commit
955a91ca74
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sorting.py

+ 1
- 1
sorting.py View File

80
 	quicklista = deepcopy(mergelista)
80
 	quicklista = deepcopy(mergelista)
81
 	searchlista = deepcopy(mergelista)
81
 	searchlista = deepcopy(mergelista)
82
 
82
 
83
-	with recursion_depth(1500): # This function excedes python's recursion limit
83
+	with recursion_depth(1100): # This function excedes python's recursion limit
84
 		acumulaMerge += timeCode(lambda: mergeSort(mergelista))[0]
84
 		acumulaMerge += timeCode(lambda: mergeSort(mergelista))[0]
85
 
85
 
86
 	acumulaHeap += timeCode(lambda: heapSort(heaplista))[0]
86
 	acumulaHeap += timeCode(lambda: heapSort(heaplista))[0]