Commit Graph

6 Commits

Author SHA1 Message Date
8faabf1220 Prepare for part 2 2023-12-18 20:32:38 +01:00
682e6f06b8 Flatten DP buffers
Going from 2d to 1d arrays improves cache locality and vectorization,
resulting in a roughly 40% speedup for part 2.
2023-12-15 17:39:59 +01:00
975a1f8faf Misc fixes 2023-12-13 18:41:15 +01:00
e449672487 Reduce dimensions of DP memo
We don't actually need all days, we just need the previous to build the
next
2023-12-12 18:14:32 +01:00
ec80523cac Implement 2023 day 12 2023-12-12 12:16:03 +01:00
0a22995055 Add skeletons for all days 2023-11-26 14:40:16 +01:00