Commit Graph

306 Commits

Author SHA1 Message Date
b8ae6f5711
try to make const generics work for day 17 2020-12-17 21:30:30 +01:00
b3e81ed412
Hopefully the last optimization for Day 17
5x faster, pog. I’m an idiot.
2020-12-17 17:17:00 +01:00
b7d6d40394 Optimize 2020/17 further
This avoids some hashing per step and unneeded copies.
About 10% faster.
2020-12-17 16:27:07 +01:00
d29e481a24
Optimize 2020/17
that early exit makes it almost an order of magnitude faster
2020-12-17 15:45:30 +01:00
eef4aa7643 Add 2020/17/2 2020-12-17 15:15:51 +01:00
a2bee8300b Refactor grid stuff into modules 2020-12-17 14:51:05 +01:00
804345629a implement FromIterator for Grid 2020-12-17 14:13:02 +01:00
49fac3e0a9 Add 2020/17/1 2020-12-17 14:04:05 +01:00
a2aa8a353f Add helper 2020-12-16 16:22:28 +01:00
60e63a667d add early exit 2020-12-16 12:26:13 +01:00
e4733f487a Add 2020/16 2020-12-16 11:56:24 +01:00
c339f51ec5 reformatting 2020-12-15 10:57:59 +01:00
c95653f24d Improve 2020/15
fold() the world :umu:
2020-12-15 10:51:41 +01:00
1b2652a70d Add 2020/15/1 2020-12-15 10:21:17 +01:00
6e0d79090b
A little less mutable state in 2020/14 2020-12-14 19:58:13 +01:00
e4225fa134
Make 2020/14/2 work
Apparently, brute force is the way
2020-12-14 18:59:36 +01:00
faa4541981 fail at 2020/14/2 2020-12-14 16:09:10 +01:00
6d572982fb Add 2020/14/1 2020-12-14 10:45:37 +01:00
61205c81f7
Optimize 2020/13/1 2020-12-13 22:18:34 +01:00
4792a10a7c
Optimize 2020/12
This is about 10% faster for part 2. mod is bad.
2020-12-13 12:26:59 +01:00
e2464b1d3e
Add 2020/13 2020-12-13 11:45:17 +01:00
da5a57089c
Add 2020/12 2020-12-12 14:31:40 +01:00
b4330c2c6f Make loop of day 11 slightly less ugly
At the cost of more mutations rooHappy
2020-12-11 14:45:41 +01:00
e5cfb6282e Add 2020/11 part 2 2020-12-11 13:32:03 +01:00
cd4f399ed6 Add 2020/11 part 1 2020-12-11 12:04:38 +01:00
c70f62f4cb Add grid lib from 2019 to 2020 project 2020-12-11 10:18:58 +01:00
59f534307d More test macros 2020-12-10 16:41:54 +01:00
6bf1811339 Extract input reading into commons 2020-12-10 14:44:42 +01:00
728122032d Add macros for tests and benches 2020-12-10 14:01:25 +01:00
5cc46fbd60 Clippy 2020-12-10 12:44:07 +01:00
c2ed410f39
make 2020/10 slightly less ugly 2020-12-10 11:05:02 +01:00
5db6b005f9
Add 2020/10 2020-12-10 10:56:13 +01:00
1a9abe8f95 Add 2020/09 2020-12-09 10:45:38 +01:00
cd43e6f3dd
2020/09 skeleton 2020-12-09 08:57:54 +01:00
4d2cc20f0e
Make day 08 ready for big boi input
20MB input still runs in 0.7ms :umu:
2020-12-08 15:03:09 +01:00
27ff0996cb Optimize 2020/05
BinaryHeap go brrrr
2020-12-08 14:22:49 +01:00
bf291daefa
clippy 2020-12-08 13:19:16 +01:00
2941798b1d
Optimize 2020/08 2020-12-08 13:17:12 +01:00
18ea3c01cb Make 2020 a single cargo project 2020-12-08 11:32:59 +01:00
f0968f0dff
remove unused dep 2020-12-08 10:59:37 +01:00
b266fc0287
Add 2020/08 2020-12-08 10:58:41 +01:00
60d2a911b9
Extend setup day template 2020-12-07 16:17:07 +01:00
5ad7c52fec
make big input parse
but not run in finite time ¯\_(ツ)_/¯
2020-12-07 16:14:15 +01:00
9f6d3a307f
add constant 2020-12-07 12:30:39 +01:00
c00955ab2c
Clone less in 2020/07 2020-12-07 12:14:45 +01:00
9a941e9d00
Remove unused dependencies 2020-12-07 12:10:07 +01:00
0a2c8f28a6
Optimize 2020/07 2020-12-07 12:02:51 +01:00
bbac9f64d4
Add 2020/07 2020-12-07 09:52:51 +01:00
107adc4616
Add 2020/06 2020-12-06 08:28:13 +01:00
30f3f0d237
Improve 2020/05 2020-12-05 14:41:54 +01:00