|
ed41d840f5
|
cargo fmt
|
2023-12-18 18:19:29 +00:00 |
|
|
7aa3a53570
|
Rename rust crates
|
2022-12-01 19:24:06 +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 |
|
|
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 |
|