Bert Peters bert
bert synced commits to master at bert/adventofcode from mirror 2021-12-22 23:27:59 +01:00
fd561a3e9d Clippy suggestions
2fcdc6b8d2 Brute force day 22 part 1
8a3f0f843c Finally discovered that pos != new_pos
23b5c39838 Add inputs day 21
Compare 4 commits »
bert synced commits to master at bert/aur from mirror 2021-12-22 20:17:59 +01:00
96e92c5f8c upgpkg: python-plotly 5.5.0-1
bert synced commits to master at bert/adventofcode from mirror 2021-12-21 15:27:22 +01:00
452f6e5f14 Implement fast day 21 part 1
bert synced commits to master at bert/adventofcode from mirror 2021-12-20 23:27:22 +01:00
61fb240622 Avoid 2/3 hashmap lookups
aee25057d6 Avoid allocations
a98332894f Brute force implementation day 20
Compare 3 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-19 23:27:22 +01:00
09e012c082 Add input files day 18
944d3e644a Filter out the worst repetition
d56f4ae8f8 Implement part 2 with the same brute force
53ca8d0043 Implement day 19 part 1
Compare 4 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-18 23:27:22 +01:00
6506af879a Simplify y-hit iterator
101ebee505 Use dedicated iterator instead of range
cc81a7012b Use math instead of binary search
9c299f140c Tighter bounds for the range of y
Compare 4 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-18 15:27:22 +01:00
ba1b7b693e Use reusable parser wrapper more
7d331f9131 Implement day 18 2021
Compare 2 commits »
bert synced commits to master at bert/aur from mirror 2021-12-18 04:17:22 +01:00
769ae9bce2 upgpkg: nodejs-node-pre-gyp 1.0.8-1
bert synced commits to master at bert/adventofcode from mirror 2021-12-17 15:27:22 +01:00
dfd8b2b985 Partially smart, partially brute-force day 17
bert synced commits to master at bert/adventofcode from mirror 2021-12-16 23:27:22 +01:00
0f6167e90f Merge common parts of parsers
3e2a3f5206 Avoid allocating and tracking bits manually
8cc2245492 Optimize hex parser
Compare 3 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-16 15:27:22 +01:00
fb167ef899 Implementation day 16
bert synced commits to master at bert/adventofcode from mirror 2021-12-15 23:27:22 +01:00
4240f8fc8c Avoid queueing worse routes
9a4ac427e0 Use Dijkstra instead of A*
Compare 2 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-15 15:27:23 +01:00
c3929a56d8 Slow implementation for day 15
bert synced commits to master at bert/adventofcode from mirror 2021-12-14 23:27:22 +01:00
9e37026f30 Remove unnecessary indexing
a926243f0d Improve "winning" logic
a35ae82548 Replace unnecessary HashMap and allocations
Compare 3 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-14 15:27:22 +01:00
8a0b72f111 Implementation day 14 2021
bert synced commits to master at bert/aur from mirror 2021-12-14 04:07:22 +01:00
d1ba1566b2 upgpkg: json_dto 0.3.0-1
bert synced commits to master at bert/adventofcode from mirror 2021-12-13 23:27:22 +01:00
b5866b2d8a Modify points in-place
554683bc64 Actually apply nom
1031a8cdbb Avoid allocating the final buffer twice
5c764f6627 Don't use silly hashsets
Compare 4 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-13 15:27:22 +01:00
ffe8d27469 Clean up day 13 a little.
d471f170b3 Very dirty solution day 13
Compare 2 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-12 23:27:22 +01:00
07cbf6cf53 Fix upcoming clippy warning
6e3252ce5a Add formal benchmarking code
Compare 2 commits »
bert synced commits to master at bert/adventofcode from mirror 2021-12-12 15:27:22 +01:00
0897e2e907 Implement day 12 part 2
4d1fdd9cc0 Implement day 12 part 1
Compare 2 commits »