That was fun! (<200ms for both parts in Rust, compiled in debug mode, i5-6300U)
I've completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/11
@thblt I don't think you can compare debug builds easily, because they have insanely different behaviours on different platforms. But, if you insist: 80ms for both parts, on an M1 Pro :)
@teotwaki It wasn't more than an order of magnitude, I don't play for pure performance — I haven't replaced the slow default [that data structure we probably both used], for example.
@jartigag @thblt That was my debug build, which is slow on purpose.
https://github.com/teotwaki/aoc
But trying to be “fast” in every metric of AOC is a recipe for disappointment.
@gregtitus @jartigag @thblt That’s amazing. Does that include IO and parsing?
Which Mac mini is that? Which one do you recommend?
@teotwaki @jartigag @thblt That includes IO (to 25 local files containing the inputs) and parsing, yes. This is in Swift, and playing a lot with optimizing data structures, but otherwise nothing crazy. Code is at <https://github.com/gregomni/aoc2022>.
It's the base model M4 Mac mini, except with the RAM bumped up to 24GB (which I think probably doesn't make any difference here, but for general development I think is helpful). I am very happy with it!