|
8859be752a
|
2022 day6/rust: add solution
|
2022-12-06 06:12:56 +01:00 |
|
|
a3bc63b6ee
|
2022 day6: add data
|
2022-12-06 06:12:49 +01:00 |
|
|
92a60f149e
|
2022 day5/rust: cleanup
|
2022-12-05 18:40:02 +01:00 |
|
|
d75c49e8c4
|
2022 day5/rust: add solution
|
2022-12-05 06:39:20 +01:00 |
|
|
a000a1a7ea
|
2022 day5: add data
|
2022-12-05 06:35:20 +01:00 |
|
|
2c13f3de57
|
common/rust: implement union and difference for SectionRange
|
2022-12-04 21:30:45 +01:00 |
|
|
c7062a05e8
|
common/rust: add UpToTwo type
|
2022-12-04 21:29:57 +01:00 |
|
|
9b62590517
|
rust: move section ranges to library
|
2022-12-04 17:43:01 +01:00 |
|
|
1207b26a46
|
2022 day4/rust: use range type
|
2022-12-04 10:24:39 +01:00 |
|
|
8b15158631
|
2022 day3/rust: use tuple instead of struct
|
2022-12-04 09:59:33 +01:00 |
|
|
be02406c0f
|
2022 day4/rust: add solution
|
2022-12-04 09:59:17 +01:00 |
|
|
3e27ce8334
|
2022 day4: add data
|
2022-12-04 09:58:53 +01:00 |
|
|
d13125c4ad
|
2022 day3/rust: use bitwise arithmetic
|
2022-12-03 06:49:44 +01:00 |
|
|
c4268a0093
|
2022 day3/rust: cleanup
|
2022-12-03 06:49:24 +01:00 |
|
|
5ad4f56771
|
2022 day3/rust: add solution
|
2022-12-03 06:17:06 +01:00 |
|
|
f2f3697152
|
2022 day3: add data
|
2022-12-03 06:16:46 +01:00 |
|
|
e7f1e50aa6
|
2022 day2/rust: cleanup
|
2022-12-02 07:45:10 +01:00 |
|
|
56eb362c3d
|
2022 day2/rust: add solution
|
2022-12-02 07:36:35 +01:00 |
|
|
e904ed4d34
|
2022 day2: add data
|
2022-12-02 07:36:07 +01:00 |
|
|
bd13011a52
|
2022 day1/rust: avoid unnecessary allocations
|
2022-12-01 20:41:22 +01:00 |
|
|
8a192ddc42
|
test.sh: fix scoping
|
2022-12-01 19:24:06 +01:00 |
|
|
0ce9b79c20
|
test.sh: make shellcheck happy
|
2022-12-01 19:24:06 +01:00 |
|
|
bb0fbc0f8f
|
test.sh: run all years
|
2022-12-01 19:24:06 +01:00 |
|
|
e271b0d585
|
2022 day1/rust: add solution
|
2022-12-01 19:24:06 +01:00 |
|
|
4be136b1a9
|
2022 day1: add data
|
2022-12-01 19:24:06 +01:00 |
|
|
cb3138f05c
|
cargo update
|
2022-12-01 19:24:06 +01:00 |
|
|
8911a00d0b
|
Add cargo workspace configuration
|
2022-12-01 19:24:06 +01:00 |
|
|
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 |
|