mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 09:06:41 +02:00
Add benchmarks
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
list numbers new
|
||||
var i = 0
|
||||
while ${i} < 30000:
|
||||
list numbers add ${i}
|
||||
var i = ${i} + 1 calc
|
||||
end_while
|
||||
|
||||
var i = 0
|
||||
var sum = 0
|
||||
while ${i} < 30000:
|
||||
list numbers get ${i}
|
||||
var sum = ${sum} + %out calc
|
||||
var i = ${i} + 1 calc
|
||||
end_while
|
||||
print_line ${sum}
|
||||
Reference in New Issue
Block a user