mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-18 03:12:10 +00:00
morestyle improvements mybe this is it?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user