Our great sponsors
-
advent-of-code-2020
:christmas_tree: My Advent of Code solutions in Rust. http://adventofcode.com/2020
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
For instance, I wrote this in C for day 15 https://github.com/ednl/aoc2020/blob/main/day15.c which runs in 1.635 s on a Raspberry Pi 4 (4 GB, RPiOS 32-bit on SSD, overclocked to 1.8 GHz) when timing on the command line with "time", taking the lowest "user" value of about 10 manual runs. Compiled with gcc -Ofast (version 8.3.0).
Well done on your 0.541s timing by the way! Mind to test my day15b implementation as well on the same system? It's standalone and straightforward to run.
Interesting! I did something similar but haven't gotten further than day 13 yet (and skipped day 11 and 12 for the moment).
Related posts
- No surprise, Rust is fast.
- I cannot be the one that thinks this: notice the gaps between each problem, does this mean we'll descend the islands later on?
- [2023 day 3 and 4] Day 4 is quite a bit higher than day 3. Do you think we will be jumping around like 2020, or will there just be a gap?
- What are some of projects to start with for a beginner in rust but experienced in programming (ex: C++, Go, python) ?
- Broken days order in 2020 calendar?