Solutions for Advent of Code in Rust.
Day | Part 1 | Part 2 |
---|---|---|
Day 1 | ⭐ | ⭐ |
Day 2 | ⭐ | ⭐ |
Day 3 | ⭐ | ⭐ |
Day 4 | ⭐ | ⭐ |
Day 5 | ⭐ | ⭐ |
Day 6 | ⭐ | ⭐ |
Day 7 | ⭐ | ⭐ |
Day 8 | ⭐ | ⭐ |
Day 9 | ⭐ | ⭐ |
Day 10 | ⭐ | ⭐ |
Day 11 | ⭐ | ⭐ |
Day 12 | ⭐ | ⭐ |
Day 13 | ⭐ | ⭐ |
Day 14 | ⭐ | ⭐ |
Day 15 | ⭐ | |
Day 16 | ⭐ | |
Day 20 | ⭐ | ⭐ |
Day | Parser | Part 1 | Part 2 |
---|---|---|---|
Day 1 | 35.7µs |
15.0ns |
5.2µs |
Day 2 | 24.2µs |
126.0ns |
4.8µs |
Day 3 | 4.4µs |
13.7µs |
12.8µs |
Day 4 | 34.6µs |
23.0ns |
26.0ns |
Day 5 | 66.7µs |
34.5µs |
33.1µs |
Day 6 | 2.9µs |
10.3µs |
35.3µs |
Day 7 | 68.6µs |
103.0ns |
209.0ns |
Day 8 | 34.1µs |
227.6µs |
465.3µs |
Day 9 | 37.0µs |
166.3µs |
372.8µs |
Day 10 | 4.0µs |
478.0ns |
3.3µs |
Day 11 | 3.6µs |
11.0µs |
6.3ms |
Day 12 | 13.7µs |
202.5µs |
226.0µs |
Day 13 | 538.3µs |
321.0µs |
2.6ms |
Day 14 | 522.2µs |
71.4µs |
1.6ms |
Day 15 | 4.7µs |
59.9ms |
- |
Day 20 | 84.4µs |
7.4ms |
75.1ms |
Total: 156.60ms
All solutions are measured (nonscientifically) via cargo run --release
on a M1 Macbook Air 2020.
Generated from fspoettel/advent-of-code-rust. See readme for instructions how to setup your own.