Commit graph

162 commits

Author SHA1 Message Date
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
fc223c2746 2021 day1/vhdl: clean up 2021-12-01 15:05:25 +01:00
4e8d0e3f36 2020 day2/vhdl: split off util package 2021-12-01 14:53:03 +01:00
7a58f73e51 2021 day1/vhdl: add solution 2021-12-01 14:52:22 +01:00
d60b8c5371 common: add VHDL testbench and runner 2021-12-01 14:02:09 +01:00
dbcf8fa588 2020 day2/vhdl: rename source files 2021-12-01 13:53:50 +01:00
cabc7f314d 2020 day2/vhdl: update to split out runner, handle line feeds 2021-12-01 13:52:37 +01:00
ab5fda541c 2020 day25: add data 2021-12-01 09:26:12 +01:00
ba84afae67 test.sh: add rust/cargo runner 2021-12-01 09:18:38 +01:00
3b768f045c 2020 day23: add data 2021-12-01 09:14:48 +01:00
f8fb917a53 2020 day22: add data 2021-12-01 09:14:48 +01:00
6913282c43 2020 day20: add data 2021-12-01 09:14:48 +01:00
a02f2dbe26 2020 day12: add data 2021-12-01 09:14:48 +01:00
e087b24966 gitignore: Ignore cargo target directory 2021-12-01 09:14:48 +01:00
a692d567c0 2021 day1/rust: add solution 2021-12-01 09:14:48 +01:00
a29f0f3064 2021 day1: add data 2021-12-01 09:14:48 +01:00
a3fbb40b07 2020 day21/python: add solution 2021-12-01 09:14:48 +01:00
9bd4e811b6 gitignore: ignore haskell build artifacts 2021-12-01 09:14:48 +01:00
5c2320b5c2 2020 day24/haskell: add solution 2021-12-01 09:14:48 +01:00
17a0a2e8a4 common/haskell: move conway to common/ 2021-12-01 09:14:22 +01:00
0d3100b152 2020 day17/haskell: add solution 2021-12-01 09:08:24 +01:00