scrapyard
Space for notes and experiments while learning the Rust programming language (by NickyMeuleman)
advent-of-code-2022
Solutions to Advent of Code 2022 written in Rust as leraning exercise (by kwiat1990)
scrapyard | advent-of-code-2022 | |
---|---|---|
7 | 2 | |
12 | 0 | |
- | - | |
8.7 | 3.6 | |
4 months ago | about 1 year ago | |
Rust | Rust | |
- | MIT License |
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.
scrapyard
Posts with mentions or reviews of scrapyard.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-12.
-
[AoC 2022] - Performance of the solutions for day 8
Inspired by a blog post of Nicky Meuleman and his solution for this puzzle: https://github.com/NickyMeuleman/scrapyard/blob/main/advent_of_code/2022/src/day_08.rs I refactored my code and it turned out to be ~7-10 times slower than the initial one (700Ξs vs. 8ms). But hey, the code looks better now and it's more concise.
-
Looking for good python and rust solutions repos
If you prefer to go straight to the repo: https://github.com/NickyMeuleman/scrapyard/tree/main/advent_of_code/2022/src
-
-ð- 2021 Day 25 Solutions -ð-
rust Per step, this makes a list of all cucumbers that can move first, then mutates those in the overall map.
-
-ð- 2021 Day 10 Solutions -ð-
Solution in Rust
-
-ð- 2021 Day 8 Solutions -ð-
Rust solution, commented both solutions to clearly explain the used logic.
-
-ð- 2021 Day 3 Solutions -ð-
Rust
-
-ð- 2021 Day 1 Solutions -ð-
Rust. The windows() method is really the MVP of the day
advent-of-code-2022
Posts with mentions or reviews of advent-of-code-2022.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-12.
-
[AoC 2022] - Performance of the solutions for day 8
This also explains why your original solution (this one) was faster: it wasn't allocating any additional Vec.
What are some alternatives?
When comparing scrapyard and advent-of-code-2022 you can also consider the following projects:
advent-of-code-2021 - My solutions to advent of code 2021 in deno/TS
advent_of_code_2022 - Rust solutions to advent of code 2022 edition
adventofcode - Advent of Code challenge solutions
aoc2021 - Advent of Code 2021 Solutions
awesome-advent-of-code - A collection of awesome resources related to the yearly Advent of Code challenge.
aoc-2021 - Advent of Code 2021 with C#/LINQ
AdventOfCode2021 - C++ solutions of Advent of code 2021
aoc2021 - My solutions to Advent of Code 2021.
AdventOfCode2021
aoc-2022 - My advent of code 2022 solutions