Day 5: Supply Stacks

Puzzle Description

Advent of Code 2022, Day 5

Scala Center Advent of Code 2022, Day 5

Full Solution Source

My Solution for 2022, Day 5

Benchmark

Part 1

Mean

Error

JVM

842.651 μs

+/- 7.969 μs

JS

1355.378 μs

+/- 6.240 μs

Native

1329.887 μs

+/- 1.948 μs

Part 2

Mean

Error

JVM

815.820 μs

+/- 7.446 μs

JS

1293.493 μs

+/- 2.862 μs

Native

1214.161 μs

+/- 67.699 μs

Run it in the browser!