advent-2021-nrsherr2
memoize
advent-2021-nrsherr2 | memoize | |
---|---|---|
2 | 2 | |
0 | 187 | |
- | - | |
2.6 | 4.1 | |
over 2 years ago | 5 months ago | |
Kotlin | Elixir | |
- | MIT License |
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-2021-nrsherr2
- -🎄- 2021 Day 21 Solutions -🎄-
-
[2021 Day 14 Part 2] bruteforce (challenge)
But what if you brute-forced half of it twice?
memoize
-
-🎄- 2021 Day 21 Solutions -🎄-
For p1 used streams to imitate infinite dice rolls. For p2 had to refactor to be able to cache effectively using Memoize. Finishes in ~500ms.
-
Complete, Production-Ready Phoenix Reference Applications
Memoize
What are some alternatives?
adventofcode - Solutions for problems from AdventOfCode.com
phoenix-apps
adventofcode - Advent of code solutions
deque - Fast bounded deque using two rotating lists.
adventofcode - Advent of Code challenge solutions
gen_retry - Utilities for retrying Elixir functions, with configurable delay and backoff.
AdventOfCode2021.jl - Advent of Code 2021 in Julia
ex_aws - A flexible, easy to use set of clients AWS APIs for Elixir
AdventOfCode2021 - Advent of Code 2021 Puzzles
Plausible Analytics - Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
Advent2021 - Advent of Code 2021 Solutions, in Zig
opq - Elixir queue! A simple, in-memory queue with worker pooling and rate limiting in Elixir.