Day 14: Restroom Redoubt

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

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

Benchmark

Part 1

Mean

Error

JVM

590.254 μs

+/- 5.388 μs

JS

1120.391 μs

+/- 0.501 μs

Native

713.256 μs

+/- 0.712 μs

Part 2

Mean

Error

JVM

193.179 ms

+/- 0.477 ms

JS

1275.286 ms

+/- 125.344 ms

Native

501.246 ms

+/- 10.731 ms

Run it in the browser!