summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-07-17 15:30:01 -0700
committerOri Bernstein <ori@markovcorp.com>2017-07-17 15:30:01 -0700
commit492aca3ff6f829ee09c52e17c86a808430ee7df4 (patch)
treef97424e14c9d3277c78ff53082daec725e1f4dcb /bench
parent11f79ed8ff75049f6b1866d70bc032c8d18b1463 (diff)
downloadmc-492aca3ff6f829ee09c52e17c86a808430ee7df4.tar.gz
Convert from `in` to `:`.
The winds of change are a-blowin.
Diffstat (limited to 'bench')
-rw-r--r--bench/runbench.myr2
-rw-r--r--bench/runner.myr2
2 files changed, 2 insertions, 2 deletions
diff --git a/bench/runbench.myr b/bench/runbench.myr
index 81bf436..ea69f83 100644
--- a/bench/runbench.myr
+++ b/bench/runbench.myr
@@ -7,7 +7,7 @@ const main = {args : byte[:][:]
std.put("Running benchmarks: {} samples per binary\n", Nsamp);
tot = 0.0;
- for arg in args[1:]
+ for arg : args[1:]
tot = tot + timeit(arg)
;;
std.put("total:\t{}s\n", tot);
diff --git a/bench/runner.myr b/bench/runner.myr
index 8ddc1de..a79c917 100644
--- a/bench/runner.myr
+++ b/bench/runner.myr
@@ -3,7 +3,7 @@ use std
const Nsamp = 10
const main = {args : byte[:][:]
- for a in args
+ for a : args
time(a)
;;
}