aoc2021 | pqueue | |
---|---|---|
1 | 1 | |
0 | 170 | |
- | - | |
0.0 | 2.9 | |
almost 2 years ago | 7 months ago | |
Rust | Erlang | |
Creative Commons Zero v1.0 Universal | 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.
aoc2021
-
-🎄- 2021 Day 15 Solutions -🎄-
I did not have the patience to time it in debug mode, but in release runs bought parts in about half a second. https://github.com/meltinglava/aoc2021/blob/main/d15/src/main.rs
pqueue
-
-🎄- 2021 Day 15 Solutions -🎄-
This limitation did give me an excuse to implement Dijkstra's algorithm from scratch, which was fun; it also allowed me to play around with the pqueue library, which is very convenient although also imposes its own set of constraints that require the user to have a good amount of foreknowledge about the data they plan to insert into the queue. Since I didn't have that for this problem, I chose a pessimistic heuristic that doesn't seem to impact performance much for the data sizes we're dealing with here.
What are some alternatives?
psqueues - Priority Search Queues in three different flavors for Haskell
Ravenx - Notification dispatch library for Elixir applications
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
enm - Erlang driver for nanomsg
CPython - The Python programming language
que - Simple Job Processing in Elixir with Mnesia :zap:
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
elixir_nsq - An NSQ client for Elixir and Erlang, written in Elixir.
aoc - 🎄 My solutions and walkthroughs for Advent of Code and more related stuff.
conduit - A message queue framework, with support for middleware and multiple adapters.
Advent-of-code - My solutions of adventofcode.com
oban - 💎 Robust job processing in Elixir, backed by modern PostgreSQL and SQLite3