Commit Graph

498 Commits

Author SHA1 Message Date
689d970372
2020/03: inline from function
This makes the input parsing about 3% faster
2020-12-03 11:39:48 +01:00
7a8d2983af
Add benches for 2020/03 2020-12-03 11:32:32 +01:00
f12a78dae4
actually start at (0, 0) 2020-12-03 10:27:03 +01:00
b5306fa368
less mutable state in 2020/03 2020-12-03 10:24:03 +01:00
4989eb3ae3
Add 2020/03 2020-12-03 08:54:04 +01:00
52acb50ffa
Add 2020/02 in rust 2020-12-02 09:21:43 +01:00
2516091b89
add benchmarks for day 1 2020-12-02 00:50:00 +01:00
16d7fa55e5
Add rustfmt.toml for longer lines 2020-12-02 00:30:57 +01:00
3dfcc6fad7
improve 2020/01 2020-12-01 23:54:58 +01:00
9932b57d24
Make day1 python less braindead
I know it was just a quick and dirty solution to get an answer within
the first few minutes, but I just can’t leave it like that.
2020-12-01 17:23:08 +01:00
21dee28618
untracked 2019 stuff 2020-12-01 08:14:33 +01:00
d0d2e58f87
Improve 2020/01 2020-12-01 08:02:29 +01:00
1138c0c8e2
Add 2020/01 in Rust and Python 2020-12-01 07:16:56 +01:00
78f13b90ac
Make day 1 rust work without cloning 2020-02-26 19:29:27 +01:00
656ca6e0b7 More D22 WIP 2020-01-02 16:20:58 +01:00
5fe8277bf1 D22P2 WIP 2019-12-28 13:18:24 +01:00
ab5b3a20f7 Minor cleanup for D22 2019-12-27 16:43:22 +01:00
5af783fc94 Add D22P1 2019-12-27 16:35:28 +01:00
5c7ada174a Add D21P2 2019-12-27 12:41:59 +01:00
ec7bb8f408 Add D21P1 2019-12-26 15:28:43 +01:00
970ad53ce5
more D18 wip 2019-12-20 00:51:47 +01:00
f4017dd12a D19 done. too tilted not to brute force 2019-12-19 08:48:09 +01:00
6f66112fc9
D19P1 2019-12-19 07:24:09 +01:00
26a9254d73
still WIP D18 2019-12-18 21:03:14 +01:00
4a28ac8e8e D18 wip 2019-12-18 16:32:23 +01:00
f14828637f
More cleanup for D17 2019-12-17 22:45:14 +01:00
f8c6692a53
D17 cleanup 2019-12-17 22:17:11 +01:00
34fe98bb4d
Remove debug prints for D17, cleanup later™️ 2019-12-17 21:28:10 +01:00
887499b02b
No longer hardcode D17P2 2019-12-17 21:20:22 +01:00
d66f782831
I hate myself 2019-12-17 14:48:46 +01:00
397209c6a0
D17: find movement commands 2019-12-17 12:38:58 +01:00
b9fc6e70a8
Add D17P1 2019-12-17 10:45:36 +01:00
63bc8c54f2
Explain D16 2019-12-16 16:03:58 +01:00
00200eda44
Use scan() for D16 2019-12-16 15:07:49 +01:00
e69ad47143
Add D16P2 2019-12-16 13:04:23 +01:00
d1591f6909
Add D16P1 2019-12-16 11:29:03 +01:00
0ec95b96d3
Hide ugly stuff a little better 2019-12-15 17:01:37 +01:00
8f3a7b56f0
Add D15P2 2019-12-15 16:46:25 +01:00
12ff1306ff
Add D15P1 2019-12-15 16:16:20 +01:00
b15d37812c
More operator overloading 2019-12-15 12:36:46 +01:00
5b007567c4
Pull 2D turning into grid module 2019-12-15 12:00:28 +01:00
10b1b09fda
Add movement to Position2D 2019-12-15 11:49:30 +01:00
9e63affcf6
Optimize D14P2 2019-12-15 09:20:33 +01:00
9b005d9c0f
Remove some hardcoded stuff in D14P2 2019-12-14 13:24:22 +01:00
1d8db4a821
Remove unneeded traits 2019-12-14 12:35:57 +01:00
9630102959
Add D14P2 2019-12-14 12:30:13 +01:00
82a55b5a1e
Add D14P1 2019-12-14 11:35:34 +01:00
875c0959a4
clippy + missing files 2019-12-13 19:36:47 +01:00
3f6ff50094
Add D13P2 2019-12-13 19:29:22 +01:00
23043afc32 Remove redundant clone 2019-12-13 15:08:52 +01:00