Commit graph

232 commits

Author SHA1 Message Date
7aa3a53570 Rename rust crates 2022-12-01 19:24:06 +01:00
b0821bc945 2021 day13/rust: add solution 2022-04-10 16:09:05 +02:00
3d52da6074 2021 day13: add data 2022-04-10 16:08:28 +02:00
5a8d17a4e7 2021 day16/rust: make generic on error type 2022-01-23 20:02:10 +01:00
8e29118629 2021 day16/rust: fix assertion in bit-slicing implementation 2022-01-23 19:15:43 +01:00
e3c6a8f29c 2021 day22/rust: add solution 2022-01-23 17:50:55 +01:00
e5ae9b546a 2021 day22: add data 2022-01-23 17:50:46 +01:00
2f9adec8ff 2021 day12/rust: fix solution 2022-01-17 17:47:06 +01:00
0220f88e27 2021 day16/rust: clean up 2021-12-16 20:36:23 +01:00
f24e06da7d 2021 day16/rust: add solution 2021-12-16 18:48:50 +01:00
a771b98489 2021 day16: add data 2021-12-16 18:36:17 +01:00
f41e7a76ea 2021 day12/rust: add simple solution 2021-12-16 11:24:20 +01:00
acb52282b6 2021 day12: add data 2021-12-16 11:23:28 +01:00
37293ab29e 2021 day14/rust: add solution 2021-12-15 19:54:39 +01:00
7828e5a9d2 2021 day14: add data 2021-12-15 19:39:37 +01:00
f82eaa9490 2021 day10/python: add solution 2021-12-10 06:32:54 +01:00
0b617a70d0 2021 day10: add data 2021-12-10 06:32:29 +01:00
daec76d3d4 2021 day8/rust: speed up v3 to unsafe levels, remove v4 2021-12-09 21:39:13 +01:00
07a1391030 2021 day8/rust: make v4 function unsafe 2021-12-09 21:28:01 +01:00
591cde8631 2021 day8/rust: add test 2021-12-09 21:28:01 +01:00
11907cf8b5 2021 day8/rust: prettify calculation of output number
Now that `digits` is a fixed-size array, both methods get unrolled the
same and there is no performance difference.
2021-12-09 21:28:01 +01:00
edd8bdfa71 2021 day8/rust: only trim start of output digits 2021-12-09 21:28:01 +01:00
92aba2db95 2021 day8/rust: use ArrayVec
This avoids an allocation and, more importantly, turns `digits` into a
fixed size array, allowing the final calculations to be unrolled
completely.
2021-12-09 21:28:01 +01:00
a231883ea7 2021 day9/python: add cleaner solution 2021-12-09 21:28:01 +01:00
8775b26fe6 2021 day9/python: add dirty solution 2021-12-09 21:28:01 +01:00
b259572265 2021 day9: add data 2021-12-09 21:28:01 +01:00
891e9861ef 2021 day8/rust: add benchmarks 2021-12-09 21:28:01 +01:00
aa464884fe 2021 day8/rust: add solutions 2021-12-09 21:27:22 +01:00
6b9ff21a5a 2021 day8/python: add fast solution 2021-12-08 17:14:37 +01:00
66c78818fc 2021 day8/python: add brute force solution 2021-12-08 10:19:51 +01:00
3099e1e256 2021 day8: add data 2021-12-08 10:18:20 +01:00
96fe64f71f 2021 day7/python: add faster solution 2021-12-07 21:58:59 +01:00
4ea70f38ea 2021 day7/python: prettify 2021-12-07 20:03:46 +01:00
e9a47c1863 2021 day7/python: add solution 2021-12-07 06:24:59 +01:00
eb8110c355 2021 day7: add data 2021-12-07 06:24:31 +01:00
7f42d47cae 2021 day6/python: add solution 2021-12-06 19:35:48 +01:00
75d4a76a50 2021 day6: add data 2021-12-06 19:35:48 +01:00
196e812878 2021 day5/rust: avoid nightly for line point iterator 2021-12-06 19:35:48 +01:00
fff3899ae9 2021 day5/rust: use iterator to expand line points 2021-12-06 19:35:48 +01:00
83b9b79a28 2021 day5/rust: dedup using Vec matrix instead of HashMap 2021-12-06 19:35:48 +01:00
4ee0046b97 2021 day5/rust: add solution 2021-12-06 19:35:48 +01:00
d3c4e526f1 2021 day5: add data 2021-12-06 19:35:48 +01:00
59714dd83d 2021 day1/rust: prettify 2021-12-06 19:35:48 +01:00
ba68214754 2021 day3/rust: add solution 2021-12-06 19:35:48 +01:00
697377c22d 2021 day4/python: add solution 2021-12-06 19:35:48 +01:00
050a309460 2021 day4: add data 2021-12-06 19:35:48 +01:00
42f425198b 2021 day3/python: add solution 2021-12-06 19:35:48 +01:00
a5e00087f2 2021 day3: add data 2021-12-06 19:35:43 +01:00
e8c84a0cb6 2021 day2/python: add solution 2021-12-02 10:40:39 +01:00
1befbf9c37 2021 day2: add data 2021-12-02 10:40:21 +01:00