Optimize int loop jumps and document loop var immutability

This commit is contained in:
sergeych committed 2026-02-15 15:12:52 +03:00
1 parent db9dc73da8
commit 637258581d
13 files changed
+569 -110

No files matched your search

+2
View File
@@ -63,6 +63,8 @@ In spite of this you can use ranges in for loops:
>>> 3
>>> void
The loop variable is read-only inside the loop body (behaves like a `val`).
but
for( i in 1..<3 )