Commit Graph

679 Commits

Author SHA1 Message Date
5517662ae2 Replace regex with aho-corasick 2023-12-02 13:44:07 +01:00
2a419bb468 Unused imports 2023-12-02 10:46:36 +01:00
bf953b7980 Implement 2023 day 2 part 2 2023-12-02 10:40:33 +01:00
033625f041 Implement 2023 day 2 part 1 2023-12-02 10:32:53 +01:00
524527dbd1 Now with more iterators and 10% perf gain 2023-12-01 12:40:15 +01:00
1541b82c11 Implement 2023 day 1 part 2 2023-12-01 11:30:36 +01:00
28178c8a73 Slightly more natural part 1 2023-12-01 10:22:26 +01:00
98559e2010 Day 1 2023 part 1 2023-12-01 10:19:55 +01:00
de2ffae641 Years 2023-12-01 10:04:14 +01:00
e57d775414 Merge pull request #5 from bertptrs/setup-2023 2023-12-01 10:02:09 +01:00
4785d71e0c Update CI for 2023
No clippy warnings right now because everything is unsed anyway
2023-11-26 14:46:37 +01:00
0a22995055 Add skeletons for all days 2023-11-26 14:40:16 +01:00
ce008e47da 100% fewer suppresed clippy warnings 2023-11-12 14:59:55 +01:00
542a8143e2 Painfully implement day 22 part 2 2023-11-12 14:32:22 +01:00
10174a2915 Formatting for let else now exists 2023-11-12 14:32:07 +01:00
3522b38394 Try to normalize the cube a little 2023-11-10 08:47:39 +01:00
8c2c3be40c Sanity check transition diagram and fix inconsistencies 2023-11-02 22:56:46 +01:00
983bc6af26 Some work on brute forcing 2023-11-02 22:28:10 +01:00
aacbc0e94a Update deps 2023-10-29 20:48:45 +01:00
722f5205ff Stop manually impl'ing slice::from_ref 2023-07-01 18:00:35 +02:00
01300de076 Avoid sorting the entire list
Or materializing the list for that matter, since we only need to compare
each entry against both markers
2023-07-01 17:35:35 +02:00
d5d9b1c192 Bunch of clippy fixes 2023-01-28 22:52:46 +01:00
e914c17f81 Codegen optimization is my passion 2023-01-28 22:33:48 +01:00
c35858239f Also prune while queueing 2023-01-28 22:21:33 +01:00
5ea0f6fa6f Use correct early cut-off bound 2023-01-28 22:00:12 +01:00
5045f83df8 Slightly more efficient search 2023-01-28 13:45:58 +01:00
787e215f84 Horrible brute force part 2 2023-01-28 12:22:35 +01:00
286fc3dd7f Terribly inefficient part 1 2023-01-27 19:57:58 +01:00
4044af4d8d Implement 2022 day 24 part 2 2023-01-02 22:18:33 +01:00
93c1d8f957 Implement 2022 day 24 part 1 2023-01-02 18:56:47 +01:00
dcc387ef2c Implement 2022 day 25 2022-12-25 20:34:52 +01:00
2d3f55097c Simple type to help clippy 2022-12-23 19:12:20 +01:00
72504d71ef Implement 2022 day 23 part 2 2022-12-23 18:16:32 +01:00
45e0cd6273 Implement 2022 day 23 part 1 2022-12-23 18:03:57 +01:00
a8752ad7a4 Implement 2022 day 22 part 1 2022-12-23 09:03:26 +01:00
06a61ab62c Implement 2022 day 21 part 2 2022-12-21 21:13:22 +01:00
6c58a3ba69 Implement 2022 day 21 part 1 2022-12-21 08:47:47 +01:00
b1d9314bc7 Remove useless code 2022-12-20 22:48:17 +01:00
abde2ae548 Always walk the short way around the circle 2022-12-20 22:42:17 +01:00
24c03ae241 Implement 2022 day 20 2022-12-20 22:27:12 +01:00
a3f9edd48d Disturbingly simple optimization 2022-12-18 22:57:19 +01:00
483aeb7e4d Finally implement 2022 day 17 part 2 2022-12-18 22:40:15 +01:00
0c183b316e Refactor common code out 2022-12-18 21:31:02 +01:00
594226320d Implement 2022 day 17 part 1 2022-12-18 21:21:14 +01:00
a713d8690a Implement 2022 day 18 part 2 2022-12-18 20:21:16 +01:00
f8fcc8ebba Implement 20220 day 18 part 1
Very inefficient and with too much hashset, but it works
2022-12-18 17:19:34 +01:00
1f9915e79d Simplify algorithm by unsimplifying graph 2022-12-17 12:38:44 +01:00
96c411126c Implement 2022 day 16 2022-12-17 11:57:42 +01:00
9aad6fe511 Non-functional implementation of 2022 day 16 part 1 2022-12-17 11:04:46 +01:00
84110350ff Implement 2022 day 15 part 2 2022-12-16 08:28:06 +01:00