Commit Graph

22 Commits

Author SHA1 Message Date
0256625608 Add day 6 part 1 2021-12-06 11:01:23 +01:00
78de4f1d46
Add macro for static day 5 parsing 2021-12-05 23:38:23 +01:00
6ae2840f80
Replace HashMap with Vec
again much faster
2021-12-05 22:10:29 +01:00
fcfb68ea33
Preallocate day 5 hashmaps 2021-12-05 22:00:14 +01:00
45600f5dd1
Optimize day 5 2021-12-05 21:27:52 +01:00
bcddb22135
Add day 5 2021-12-05 20:48:20 +01:00
df68a385d8
Const-ify winning indices 2021-12-04 16:00:05 +01:00
ea1339f018
Replace HashSet with Vec for more brrrrr 2021-12-04 13:38:17 +01:00
f7efb54d21
Remove useless type alias 2021-12-04 13:31:26 +01:00
5b71f0740c
Enable benchmarks 2021-12-04 13:09:10 +01:00
6b868de832
Add day 4 2021-12-04 12:49:48 +01:00
964a84df45
Enable lto in benchmarks 2021-12-03 20:28:39 +01:00
70450dbcdc
Vec::retain does not go brrrr 2021-12-03 18:02:18 +01:00
9a03a4f499 Generalize input bench macro 2021-12-03 17:05:53 +01:00
5d90f44f2b Don’t use log2 to get around bit count 2021-12-03 15:24:26 +01:00
312f526345 Make day 3 not awful 2021-12-03 12:00:58 +01:00
61ec05955a
Add day 3 (bad) 2021-12-03 07:01:36 +01:00
e9a3ead7c2 Add DAY constant to each file for input reading 2021-12-02 10:31:23 +01:00
329be3f1c1
Add day 2 2021-12-02 06:13:01 +01:00
731d7f5e33 Move imports into macros 2021-12-01 14:16:29 +01:00
a044e4cf1b
Refactor day 1
tuple_windows is terribly slow, wtf
2021-12-01 06:26:45 +01:00
94bf221efd
Add day 1
Part 2 is ugly. Better solution later when it’s not 6AM anymore
2021-12-01 06:19:33 +01:00