Commit Graph

32 Commits

Author SHA1 Message Date
54d61e11f1 Optimizations for day 16.
Don't use checks that are idempotent more than once, and reduce hashmap
use.
2020-12-16 19:04:52 +01:00
796d854838 Implementation day 16.
This was a pain.
2020-12-16 09:53:43 +01:00
859034b09d Improve performance day 15
Using 32 bit integers is significantly faster due to better memory
locality, although it requires a bit of casting to move between indices
and values as needed.
2020-12-15 09:10:33 +01:00
3ab0f9711d Implementation day 15 2020-12-15 09:06:17 +01:00
eff0cb9f8c Implement day 14. 2020-12-14 20:06:02 +01:00
fe9dfd163c Implementation day 13 2020-12-13 08:22:35 +01:00
ea839af850 Implementation day 12 2020-12-12 08:00:35 +01:00
7649d628e7 Implemention day 11 2020-12-11 08:20:27 +01:00
190a7e7423 Prepare remaining days. 2020-12-10 21:10:14 +01:00
e05cb5c9f0 Implementation day 10 2020-12-10 09:15:32 +01:00
e2bf38ceee Avoid copying in part 2 2020-12-09 19:48:05 +01:00
033a3ef512 Implementation day 9. 2020-12-09 09:08:42 +01:00
e5edecba46 Implementation day 8 2020-12-08 20:30:31 +01:00
10f123bf04 Implementation day 7 2020-12-07 09:35:41 +01:00
0bf021045c Rewrite using iterators
This improves codegen for part 1 considerably.
2020-12-06 09:26:17 +01:00
ecade93f0f Implementation day 6 2020-12-06 08:57:22 +01:00
5348e92f8a Add instrumentation for profiling 2020-12-05 14:25:52 +01:00
26c7d67077 Avoid allocations when parsing strings by line 2020-12-05 13:48:10 +01:00
b38a1ddff9 Prepare day 6 2020-12-05 13:16:14 +01:00
77f20fb368 Off-by-one error 2020-12-05 11:05:41 +01:00
a382477008 Implementation day 5 2020-12-05 08:19:24 +01:00
711caf2ed0 Implementation day 3 2020-12-04 09:19:05 +01:00
fa54d448ed Prepare day 4 2020-12-03 19:55:55 +01:00
fc0a1a43af Simplify read_char_grid 2020-12-03 19:39:45 +01:00
eedbe874bd Implementation day 3 2020-12-03 08:53:49 +01:00
1df2a6f54d Prepare day 3 2020-12-02 22:39:40 +01:00
b25a4bc1ba Use macros for tests 2020-12-02 22:37:19 +01:00
877bf933d0 Add automated download script 2020-12-02 21:20:12 +01:00
2d58f0eb23 Rewrite day 2 with fewer allocations 2020-12-02 18:38:47 +01:00
777cac6346 Implementation day 2. 2020-12-02 09:27:15 +01:00
8acce5c137 Implementation day 1 2020-12-01 08:50:39 +01:00
cbbee3a01f Initial skeleton code for 2020 2020-11-28 23:43:15 +01:00