version2
adventofcode
version2 | adventofcode | |
---|---|---|
6 | 69 | |
1,220 | 14 | |
1.6% | - | |
5.8 | 8.6 | |
3 months ago | 5 months ago | |
C++ | Python | |
Apache License 2.0 | - |
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.
version2
-
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?
adventofcode
-
[2023 Day 04 (Part 2)][Python] Need help with recursion
I tried to model my code https://github.com/djotaku/adventofcode/blob/6c5d9c6e4f2dcbbbf7383b2923829c210faab028/2023/Day_04/Python/day_04.py (specifically lines 42-56) on my solution for Handy Haversacks in 2020 Day 7, but I'm ending up with an answer of 1 instead of 30. It seems like the problem is that my totals are not carrying up the stack, but I may have something else wrong.
- -๐- 2022 Day 25 Solutions -๐-
- -๐- 2022 Day 20 Solutions -๐-
- [2022 Day 18 (Part 1)][Python] What is wrong with my math?
- [2022 Day 15 (Part 1)] [Python] Need help with my algorithm
- -๐- 2022 Day 14 Solutions -๐-
-
-๐- 2022 Day 13 Solutions -๐-
My code is here https://github.com/djotaku/adventofcode/blob/66d74babd2ed37f56858096bc5598149448b6839/2022/Day_13/Python/solution.py
- [2016 Day 25 (Part 1)][Python] I keep getting 00000 or 111111
- -๐- 2022 Day 12 Solutions -๐-
- -๐- 2022 Day 11 Solutions -๐-
What are some alternatives?
highway - Performance-portable, length-agnostic SIMD with runtime dispatch
AdventOfCode2021 - Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time! :christmas_tree:
aoc22 - Advent of Code solutions for 2022 (in Python)
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
advent2022
Advent-of-Code - My solutions or attempts at solutions to the Advent of Code event.
adventOfCode2022
advent-of-code-cpp - C++ solutions for the Advent of Code programming puzzles - http://adventofcode.com/
simde - Implementations of SIMD instruction sets for systems which don't natively support them.
toit - Program your microcontrollers in a fast and robust high-level language.
Day4 - My (messy) Python3 solution for day4's puzzle.
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#