Commit a040be9 but for core:sort

This commit is contained in:
Despacito696969
2023-08-23 15:46:32 +02:00
committed by GitHub
parent 74bbb1167f
commit 2feb1bf847
+1 -1
View File
@@ -259,7 +259,7 @@ _quick_sort :: proc(it: Interface, a, b, max_depth: int) {
a, b, max_depth := a, b, max_depth
if b-a > 12 { // only use shell sort for lengths <= 12
for b-a > 12 { // only use shell sort for lengths <= 12
if max_depth == 0 {
heap_sort(it, a, b)
return