2020-12-25 01:48:57 +00:00
# Advent of Code 2020
## Completion
2020-12-25 23:35:14 +00:00
Day 12 is missing because I did it in IPython and never bothered putting it in a source file, probably.
2020-12-25 01:48:57 +00:00
| Day | Rust | Python | C64< br > ASM |
| ---: | :---: | :----: | :--------: |
| 1 | ✔️ | | ✔️ |
| 2 | ✔️ | | ✔️ |
| 3 | ✔️ | | |
| 4 | ✔️ | | |
| 5 | ✔️ | | ✔️ |
2020-12-25 23:34:43 +00:00
| 6 | ✔️ | | |
2020-12-25 01:48:57 +00:00
| 7 | | ✔️ | |
| 8 | ✔️ | | |
| 9 | ✔️ | ✔️ | ✔️ |
| 10 | | ✔️ | |
| 11 | | ✔️ | |
| 12 | | | |
| 13 | | ✔️ | |
| 14 | | ✔️ | |
| 15 | ✔️ | | |
| 16 | ✔️ | | |
| 17 | ✔️ | | |
| 18 | | ✔️ | |
| 19 | ✔️ | | |
| 20 | | ✔️ | |
| 21 | | ✔️ | |
| 22 | | ✔️ | |
| 23 | ✔️ | ✔️ | |
| 24 | | ✔️ | |
2020-12-25 23:33:18 +00:00
| 25 | ✔️ | | |
2020-12-25 01:48:57 +00:00
## Benchmarks (Rust)
I'm somewhat trying to do the < 1 second challenge , but I ' ve been a bit short on time ( and willpower ) , and I ' m just faster at solving challenges in Python . Anyway , here ' s my benchmarks ( ran on my mostly idle server ) :
2020-12-25 20:34:16 +00:00
| Day | Time |
| ---------: | -----------: |
2020-12-25 23:33:18 +00:00
| 1 | 112.46µs |
| 2 | 113.41µs |
| 3 | 60.96µs |
| 4 | 286.32µs |
| 5 | 73.25µs |
| 6 | 78.59µs |
2020-12-25 20:34:16 +00:00
| 7 | - |
2020-12-25 23:33:18 +00:00
| 8 | 170.56µs |
| 9 | 46.69µs |
2020-12-25 20:34:16 +00:00
| 10 | - |
| 11 | - |
| 12 | - |
| 13 | - |
| 14 | - |
2020-12-25 23:33:18 +00:00
| 15 | 459975.24µs |
| 16 | 344.11µs |
| 17 | 70782.00µs |
2020-12-25 20:34:16 +00:00
| 18 | - |
2020-12-25 23:33:18 +00:00
| 19 | 403.49µs |
2020-12-25 20:34:16 +00:00
| 20 | - |
| 21 | - |
| 22 | - |
2020-12-25 23:33:18 +00:00
| 23 | 195819.54µs |
2020-12-25 20:34:16 +00:00
| 24 | - |
2020-12-25 23:33:18 +00:00
| 25 | 26266.60µs |
| **Total:** | 754.533ms |