aoc-2020
Advent of code 2020 in Python and Rust (by TamTran72111)
aoc-2020
Advent of Code 2020 (by aldanor)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aoc-2020
Posts with mentions or reviews of aoc-2020.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-23.
-
-🎄- 2020 Day 24 Solutions -🎄-
My Python and Rust solutions, which run in 0.5s and 80ms.
-
-🎄- 2020 Day 23 Solutions -🎄-
My Python and Rust solutions run in 10s and 250ms respectively. Do you guys know how to improve the performance for the Python version?
-
-🎄- 2020 Day 22 Solutions -🎄-
These are my solutions in Python and Rust, which run in 2.5s and 0.6s respectively. I am looking for some ways to improve the performance
aoc-2020
Posts with mentions or reviews of aoc-2020.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-26.
-
Now what? (350 stars)
I've tried it a few times and solutions were surprisingly elegant! E.g., 2020-01-p2.
-
[2020] Optimized solutions in C++ (291 ms total)
Figured I'd post my benches as well, see below. Everything done in Rust (link to source).
-
-🎄- 2020 Day 24 Solutions -🎄-
Here's my day 24 in Rust, using SIMD as usual :) (and offset coordinate encoding to make a SIMD-friendly 2-D cell grid)
-
-🎄- 2020 Day 22 Solutions -🎄-
Borrowed both ideas in my version :) On my input your version runs at 3ms, mine in 1.5ms, so it might be faster on some inputs (link). I initially started with something similar to yours but then figured why not use 512-bit ints, so that the notion of 'head' and 'tail' disappears as your head then stays at position 0 (so, e.g., to remove a card, you just right-shift the whole bigint). Also used a tiny bit of simd along the way.