This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Owen O’Malley
owenomalley.bsky.social
did:plc:ethaefevaqzmlgdla5pte45f
I've been having fun trying to optimize day 6 on #AdventOfCode, which is my slowest day. My original implementation was 590 millis. Changing the data structure to minimize repeated work took it to 55 millis. Moving from Vec<Vec<T>> to Array2<T> saved another 13%.
https://github.com/omalley/advent_of_code_2024/blob/trunk/src/day6.rs
2024-12-13T20:10:30.750Z