r/adventofcode • • 18h ago

Upping the Ante [2019 Day13] [Rust] - hunting for marginal speedups

3 Upvotes

While I'm waiting for Dec 1st I took a look at this one since it is one of the two slowest days of that year. I write in Rust, so my timings should be comparable to u/maneatingape. Unlike him I have a locally optimized version of my IntCode interpreter, which together with verifying that this particular day works fine with i32 instead of i64 elements have resulted in 1631 vs 2357 us as the benchmark.

https://github.com/TerjeWiigMathisen/aoc/blob/master/2019/day13/src/main.rs

Only 10 more days!


r/adventofcode • • 21h ago

Visualization [2024 Day 18] [Kotlin] Visualization with GraphMateKT

Thumbnail gallery
29 Upvotes

Around 2 years ago, Advent of code inspired me to add vizualization capabillities to my GraphLibrary: GraphMateKT. Now, I'm starting a youtube series, showcaseing it's capabilities, by solving old AoC puzzles, and hopefully, new ones. I'm looking forward to AoC 2026! For now, here's a vizualization of a breath first search on a partially blocked and fully blocked grid!