I decided to use Advent of Code 2019 as an opportunity to take a look at the Rust programming language.
Just for fun, some runtime stats when executing the solutions on my machine (Intel i7-7500U @ 2.7GHz, Windows 10 Pro 64-bit). Times were taken with Measure-Command, each solution was executed 100 times to determine minimum, maximum, and average runtime. No times available for day 25 since I "manually" played the text adventure.
Solution | Minimum Time | Average Time | Maximum Time |
---|---|---|---|
day01 | 7.43 ms | 9.62 ms | 56.40 ms |
day02 | 7.95 ms | 9.63 ms | 44.36 ms |
day03 | 64.44 ms | 70.01 ms | 108.34 ms |
day04 | 107.03 ms | 125.79 ms | 336.11 ms |
day05 | 7.22 ms | 8.43 ms | 42.85 ms |
day06 | 12.37 ms | 15.96 ms | 60.11 ms |
day07 | 8.07 ms | 9.97 ms | 42.42 ms |
day08 | 7.36 ms | 8.51 ms | 37.00 ms |
day09 | 12.93 ms | 17.05 ms | 48.95 ms |
day10 | 20.80 ms | 26.26 ms | 62.14 ms |
day11 | 11.15 ms | 15.33 ms | 54.85 ms |
day12 | 23.08 ms | 34.16 ms | 79.47 ms |
day13 | 29.78 ms | 44.68 ms | 85.62 ms |
day14 | 16.00 ms | 23.54 ms | 85.11 ms |
day15 | 15.82 ms | 24.23 ms | 79.55 ms |
day16 | 1900.91 ms | 2286.94 ms | 3700.18 ms |
day17 | 10.80 ms | 12.59 ms | 42.71 ms |
day18 | 273.27 ms | 278.24 ms | 318.90 ms |
day19 | 43.47 ms | 46.98 ms | 80.33 ms |
day20 | 248.03 ms | 262.30 ms | 309.05 ms |
day21 | 20.28 ms | 22.04 ms | 62.24 ms |
day22 | 5.87 ms | 6.74 ms | 37.62 ms |
day23 | 11.15 ms | 12.28 ms | 50.50 ms |
day24 | 547.13 ms | 564.73 ms | 852.24 ms |