5c8e79c543
Add 2022/07/02
2022-12-07 11:20:02 +01:00
a52030278e
Add 2022/07/01
2022-12-07 11:07:13 +01:00
b519084a16
optimize 2022/06
2022-12-06 13:50:19 +01:00
c51d56617c
Add 2022/06
2022-12-06 10:34:25 +01:00
647e1c815e
Remove temporary storage for 2022/05
2022-12-05 12:04:32 +01:00
ef93b302ce
Optimize parsing 2022/05
2022-12-05 11:47:37 +01:00
5a86a400ef
Add 2022/05
2022-12-05 11:15:40 +01:00
4e7420463d
add 2022/04
2022-12-05 10:26:36 +01:00
56fa30a5a4
skeleton for 4 + 5
2022-12-05 10:02:52 +01:00
67f7c4c47f
Add 2022/03
2022-12-03 13:13:30 +01:00
6ced50128c
optimize more
2022-12-02 15:07:19 +01:00
d865c06f8b
be less stupid
2022-12-02 14:05:04 +01:00
515bc5f96f
naive solution for 2022/02
2022-12-02 11:18:36 +01:00
8e47158ba1
document the dc solution
2022-12-01 18:19:42 +01:00
ddc84b662a
Do 2022/1/1 in dc
2022-12-01 16:46:40 +01:00
43b47bc622
directly parse into BinaryHeap
2022-12-01 14:25:17 +01:00
2109680030
use binary heap for 2022/1/2
2022-12-01 12:07:38 +01:00
7a86dc1a88
add faster number parsing for benchmarks
2022-12-01 10:21:16 +01:00
e33d2aa86f
Add 2022/01
2022-12-01 06:12:16 +01:00
e11d9e24cd
Remove test files for the 2022 setup
2022-12-01 00:06:19 +01:00
22afa80e1b
rename parse
param to bench_parse
2022-11-29 12:56:07 +01:00
a6dfde6fc5
extract day and typealias from macro
2022-11-29 12:45:03 +01:00
927d1ccce3
Add boilerplate macro for 2022
2022-11-29 12:29:49 +01:00
cc29762a6a
futile attempts at 22
2021-12-22 16:16:54 +01:00
b733d05353
21/2 optimizations
2021-12-22 00:41:17 +01:00
b262f734b5
Day 21 refactoring
2021-12-22 00:29:21 +01:00
c47f381a3b
clippy
2021-12-21 23:39:43 +01:00
4dee357ea1
Add 21/2
2021-12-21 23:33:19 +01:00
c19088f3cb
Optimize 21/1
2021-12-21 21:57:53 +01:00
7cdb90bf8e
Clean up 21/1 a little
2021-12-21 16:05:15 +01:00
8f83f5489a
Add day 21 part 1
2021-12-21 15:45:38 +01:00
aa2e083c2d
Skeleton for day 21
2021-12-21 09:38:17 +01:00
64e851cd77
Add test for day 20
2021-12-21 00:20:34 +01:00
43d232d924
Day 19 parsing
2021-12-20 19:24:36 +01:00
165da4c28c
Add day 20
2021-12-20 16:05:38 +01:00
549ee502b1
wip day 20
...
test passes, but real input is wrong
2021-12-20 15:31:46 +01:00
a2c61d1bf4
Use box patterns
2021-12-18 23:15:37 +01:00
29e0ca1ac9
optimize day 18
2021-12-18 22:50:28 +01:00
74372c1e33
day 18: disable box syntax
2021-12-18 18:28:08 +01:00
e0461fb56a
Remove unused #[feature]
2021-12-18 17:58:57 +01:00
1159d3b6e4
Make reduce return new Node
...
This is a little slower, but I much prefer how it looks
2021-12-18 17:49:55 +01:00
8333c88189
Add day 18 part 2
2021-12-18 17:46:46 +01:00
7cbbd03e0f
finish day 18 part 1
2021-12-18 17:37:31 +01:00
68cade10ac
Day 18: add split and tests
2021-12-18 17:06:34 +01:00
35e85c9737
Add day 18 parsing + exploding
2021-12-18 16:18:25 +01:00
79ab35a23e
Use Vec::retain for day 3
...
The performance issues I reported have since been fixed. Rejoice.
2021-12-17 22:08:31 +01:00
95e4a6f8cc
Day 17: no longer hardcode upper search bounds
2021-12-17 21:52:42 +01:00
66bc3c6d42
More day 17 optimizations
2021-12-17 17:32:35 +01:00
36ffc1cf00
Remove useless destructuring
2021-12-17 14:06:31 +01:00
10454bd621
Day 17 early exit earlier
2021-12-17 13:26:10 +01:00