make index operator just read 1 byte

This commit is contained in:
2025-11-13 20:17:12 +01:00
parent c1bd84464c
commit 852c463532
9 changed files with 59 additions and 56 deletions

View File

@@ -4,12 +4,12 @@ func main[] : I64
array.push(arr, math.abs(math.urandom() % 1000))
for i in 0..array.size(arr)
io.print_i64(arr[i])
io.print_i64(array.nth(arr, i))
io.print("------------")
alg.quicksort(arr)
for i in 0..array.size(arr)
io.print_i64(arr[i])
io.print_i64(array.nth(arr, i))
array.free(arr)