mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 00:46:07 +00:00
fix file open change
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
y = []
|
||||
i = 0
|
||||
while (i<1000000) do
|
||||
for (i from 0 to 1000000) do
|
||||
y.append(random())
|
||||
if (i % 100000 == 0) term.log(i)
|
||||
i = i + 1
|
||||
|
||||
term.time("write")
|
||||
open("array.json", "w").json(y)
|
||||
file.write("array.json").json(y)
|
||||
term.timeEnd("write")
|
||||
Reference in New Issue
Block a user