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

10.166 ms

+/- 0.393 ms

JS

41.261 ms

+/- 0.108 ms

Native

15.439 ms

+/- 0.011 ms

Part 2

Mean

Error

JVM

2797.587 ms

+/- 95.162 ms

JS

16892.247 ms

+/- 1078.244 ms

Native

6259.900 ms

+/- 604.075 ms

Run it in the browser!