Day 18: RAM Run

My writeup is on the official Scala Center Advent of Code site: Scala Center Advent of Code 2024, Day 18

You can still run the solution and view the benchmark here:

Benchmark

Part 1

Mean

Error

JVM

6.245 ms

+/- 0.323 ms

JS

15.639 ms

+/- 0.220 ms

Native

9.689 ms

+/- 0.019 ms

Part 2

Mean

Error

JVM

1841.430 ms

+/- 945.153 ms

JS

5604.752 ms

+/- 1079.455 ms

Native

3856.552 ms

+/- 255.683 ms

Run it in the browser!