AdventOfCode
12944qwerty's solutions for Advent of Code (by 12944qwerty)
version2
Vector class library, latest version (by vectorclass)
AdventOfCode | version2 | |
---|---|---|
1 | 6 | |
1 | 1,227 | |
- | 2.2% | |
6.5 | 5.8 | |
5 months ago | 3 months ago | |
Python | C++ | |
- | Apache License 2.0 |
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.
AdventOfCode
Posts with mentions or reviews of AdventOfCode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-03.
-
-๐- 2022 Day 4 Solutions -๐-
Day 04 Code
version2
Posts with mentions or reviews of version2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-08.
-
SIMD intrinsics and the possibility of a standard library solution
Vector class library - 938 GH stars
- Checking for the absence of a string, naive AVX-512 edition
-
-๐- 2022 Day 4 Solutions -๐-
Most of the time is spent parsing, but this problem lends itself nicely to a SIMD formulation, which using vectorclass doesn't even require detailed knowledge of the intrinsics. Hot runs take ~14 ยตs on a Core i9-12900K, including I/O. Full code is (here)[https://github.com/ahans/aoc2022/blob/main/cpp/day04.cc], the interesting part is this, where we process 32 elements at once:
- Significantly faster quicksort using SIMD
- Parsing JSON faster with Intel AVX-512
- What do you think is faster for batch-processing a lot of "double-type" arithmetic?
What are some alternatives?
When comparing AdventOfCode and version2 you can also consider the following projects:
adventofcode - Advent of code solutions
highway - Performance-portable, length-agnostic SIMD with runtime dispatch
aoc - advent of code
aoc22 - Advent of Code solutions for 2022 (in Python)
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
advent2022
AoC - my personal repo for the advent of code yearly challenge
adventOfCode2022
AdventOfCodeCSharp - My AoC Solutions
simde - Implementations of SIMD instruction sets for systems which don't natively support them.
adventofcode - My solutions to the Advent of Code challenges
Day4 - My (messy) Python3 solution for day4's puzzle.