12345678910111213141516171819202122232425262728 |
- # tests the speed of execution
- op: # operation to perform, change to test different operations
- # some possible operations to test (uncomment one):
- 12 *
- # 11 /
- # 11 //
- # 4 /
- # 3 +
- .
- 0 10 "computing, hold on..." -->
- 123 # start value
- 10000000 # iterations
- @'
- ><
- op
- ><
- --
- .
- ><
- 10 % "0" + -> 10 -> # print result, to potentially prevent optimizations
- 0 10 "done" -->
|