Commit graph

4 commits

Author SHA1 Message Date
Xiretza edd8bdfa71 2021 day8/rust: only trim start of output digits 2021-12-09 21:28:01 +01:00
Xiretza 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
Xiretza 891e9861ef 2021 day8/rust: add benchmarks 2021-12-09 21:28:01 +01:00
Xiretza aa464884fe 2021 day8/rust: add solutions 2021-12-09 21:27:22 +01:00