With the above files in the same directory, on my system $ rustc day11.rs -C opt-level=3 && hyperfine -w 10 ./day11
results in:
Benchmark 1: ./day11
Time (mean ± σ): 83.9 ms ± 5.4 ms [User: 81.8 ms, System: 1.6 ms]
Range (min … max): 77.4 ms … 93.0 ms 36 runs
from hyperfine.
$ odin build day11.odin -opt:3 && hyperfine -w 10 ./day11
with latest master at the time of writing this (commit https://github.com/odin-lang/Odin/commit/72862ce30d55891f1b04d3aadd085d7822f1b960)
results in: