2020/README.md

68 lines
2.4 KiB
Markdown
Raw Normal View History

2020-12-25 01:48:57 +00:00
# Advent of Code 2020
## Completion
Days 6 and 12 are missing because I did them in IPython and never bothered putting them in a source file, probably.
| Day | Rust | Python | C64<br>ASM |
| ---: | :---: | :----: | :--------: |
| 1 | ✔️ | | ✔️ |
| 2 | ✔️ | | ✔️ |
| 3 | ✔️ | | |
| 4 | ✔️ | | |
| 5 | ✔️ | | ✔️ |
| 6 | | | |
| 7 | | ✔️ | |
| 8 | ✔️ | | |
| 9 | ✔️ | ✔️ | ✔️ |
| 10 | | ✔️ | |
| 11 | | ✔️ | |
| 12 | | | |
| 13 | | ✔️ | |
| 14 | | ✔️ | |
| 15 | ✔️ | | |
| 16 | ✔️ | | |
| 17 | ✔️ | | |
| 18 | | ✔️ | |
| 19 | ✔️ | | |
| 20 | | ✔️ | |
| 21 | | ✔️ | |
| 22 | | ✔️ | |
| 23 | ✔️ | ✔️ | |
| 24 | | ✔️ | |
| 25 | | | |
## 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 |
| ---------: | -----------: |
| 1 | 111.14µs |
| 2 | 110.91µs |
| 3 | 58.66µs |
| 4 | 280.38µs |
| 5 | 65.60µs |
| 6 | - |
| 7 | - |
| 8 | 168.35µs |
| 9 | 45.37µs |
| 10 | - |
| 11 | - |
| 12 | - |
| 13 | - |
| 14 | - |
| 15 | 475441.39µs |
| 16 | 338.97µs |
| 17 | 69548.73µs |
| 18 | - |
| 19 | 398.30µs |
| 20 | - |
| 21 | - |
| 22 | - |
| 23 | 196018.58µs |
| 24 | - |
| 25 | 26280.61µs |
| **Total:** | 768.867ms |