advent-of-code-2022
By erikcorry
adventofcode2022_day06
By mpawelski
advent-of-code-2022 | adventofcode2022_day06 | |
---|---|---|
1 | 1 | |
3 | 0 | |
- | - | |
10.0 | 10.0 | |
over 1 year ago | over 1 year ago | |
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.
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 2022-12-13.
-
A Neat XOR Trick
https://github.com/erikcorry/advent-of-code-2022/blob/main/d...
Then a friend solved it with regular expressions, but I found a sicker regex. After all, that's what regexes are about.
https://mobile.twitter.com/erikcorry/status/1600524753596456...
adventofcode2022_day06
Posts with mentions or reviews of adventofcode2022_day06.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-13.
-
A Neat XOR Trick
You are right. The algorithm you described is very similar to this XOR one. However, I did some benchmarks[0] and non-XOR version was 40% slower to XOR version when compiled with target-cpu=native. Unfortunately, without `target-cpu=native` the xor version was 40% slower and plain old arrays won!
[0]: https://github.com/mpawelski/adventofcode2022_day06/blob/mas...
What are some alternatives?
When comparing advent-of-code-2022 and adventofcode2022_day06 you can also consider the following projects:
riscv-bitmanip - Working draft of the proposed RISC-V Bitmanipulation extension
jdk8u-jdk
advent-of-code-2022 - 🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2022