/advent-of-code-2022

Solutions for Advent of Code 2022

Primary LanguageRust

Advent of Code 2022

My solutions for Advent of Code 2022 written in rust.

Tests

cargo test

Run the solution for a day (both parts)

cargo run --release --bin <day>

Rough Timings - Apple M1

Zero effort has been expended to attempt to speed these up.

Part 1 Part 2
Day 1 0.039 ms 0.029 ms
Day 2 0.089 ms 0.087 ms
Day 3 0.447 ms 0.550 ms
Day 4 0.079 ms 0.073 ms
Day 5 0.105 ms 0.103 ms
Day 6 0.158 ms 0.950 ms
Day 7 0.046 ms 0.037 ms
Day 8 0.371 ms 0.298 ms
Day 9 0.576 ms 0.454 ms
Day 10 0.012 ms 0.015 ms
Day 11 0.064 ms 15.785 ms
Day 12 5.278 ms 4.170 ms
Day 13 0.597 ms 0.648 ms
Day 14 4.198 ms 107.823 ms