Closed ammarbinfaisal closed 9 months ago
fun alloc(i: int) -> [int] { print(i, "\n"); return make([int], 1000); } fun main() { for i in 0..1024 { print(len(alloc(i)), "\n"); } }
the loop only runs till 1000 instead of 1024
the loop only runs till 1000 instead of 1024