Commit Graph

21 Commits

Author SHA1 Message Date
9e552c9b6a More inlining 2024-12-23 08:00:10 +01:00
be2244eca9 Inline module
Because this is Terraform, and it's the ultimate optimisation technique
2024-12-20 20:15:30 +01:00
fdaadfe184 Implement day 19 part 1 in Terraform 2024-12-19 23:24:11 +01:00
8308580284 Actually run part 2 in Terraform, madness 2024-12-11 23:18:56 +01:00
612c4d19ef Implement efficient algorithm in TF 2024-12-11 22:33:42 +01:00
2beccdd0e6 day 11 part 1 in terraform 2024-12-11 18:53:06 +01:00
2d49907692 Implement day 5 part 1 in terraform
I'm pretty sure part 2 is impossible
2024-12-07 12:45:41 +01:00
edb0767201 Optimize day 3
Avoid instantiating module and backtracking, instead use regex for
filtering. Much faster. Since we are not matching brackets, but rather
only care about the last instance, the limitations of regex don't apply.
2024-12-07 10:42:38 +01:00
e9a57701c9 Optimize day 4 enough to run 2024-12-05 22:52:57 +01:00
f7af07a631 Slightly better performance 2024-12-05 22:18:26 +01:00
ecfe5e9f20 Implement day 4 in Terraform 2024-12-05 22:14:35 +01:00
3e07c8563e Liberally use try, document idea 2024-12-03 20:30:19 +01:00
608f3dc621 Implement 2024 day 3 part 2 in Terraform
No one's going to stop me, not even common sense
2024-12-03 19:33:47 +01:00
ff2e421437 formatting 2024-12-03 19:09:04 +01:00
e0d458c972 Forgot to include real input 2024-12-03 08:20:53 +01:00
1c54a79d19 Implement 2024 day 3 part 1 in Terraform 2024-12-03 08:18:15 +01:00
c5cbd6d24f Restructure bonus tests 2024-12-03 08:12:45 +01:00
b2add928ad Implement day 2 in Terraform 2024-12-02 18:25:01 +01:00
443ff2cee6 Reduce part 2 to O(n) 2024-12-01 18:04:13 +01:00
f4a5ffe3ce Part 2 and actual testing 2024-12-01 17:05:41 +01:00
73f886359b Implement day 1 part 1 in Terraform 2024-12-01 16:51:45 +01:00