morestyle improvements mybe this is it?

This commit is contained in:
TheRadischen
2026-08-16 15:24:19 +02:00
parent f6b8eafdfd
commit 0b0778f981

View File

@@ -74,10 +74,10 @@ _stable_sort_general :: proc(data: $T/[]$E, call: $P, $KIND: Sort_Kind) where (O
n := len(data)
for n > 0 {
half := n / 2
mid := from + half
half := n / 2
mid := from + half
if less(value, data[mid], call) {
if less(value, data[mid], call) {
n = half
} else {
from = mid + 1