5 lines
181 B
Nim
5 lines
181 B
Nim
var a {.noInit.}: array[1_000_000, int]
|
|
|
|
# For a proc, {.noInit.} means that the result is not initialized.
|
|
proc p(): array[1000, int] {.noInit.} =
|
|
for i in 0..999: result[i] = i
|