aoc23_05
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
https://adventofcode.com/2023/day/5
Oh boy, what a tedious one. I don't see any quick and easy optimization strategies here. the parsing is the most tedious part of this.
The first part went way more smoothly than I initially thought, by splitting the different steps into smaller pieces.
But the second part is a hard nut to crack. So many runtime/performance issues because the numbers are so "big" that my intail approach no longer works.
Last nut I finally cracked was in v28 by running the following on a powerful desktop machine for nearly an hour:
deno run https://esm.town/v/karfau/aoc23_05?v=28
(that is the module URL)
to get the correct solution.
Migrated from folder: adventofcode/_2023/aoc23_05