Day 1: Trebuchet?!

Puzzle Description

Advent of Code 2023, Day 1

Scala Center Advent of Code 2023, Day 1

Full Solution Source

My Solution for 2023, Day 1

Benchmark

Part 1

Mean

Error

JVM

232.014 μs

+/- 6.518 μs

JS

209.013 μs

+/- 0.161 μs

Native

369.142 μs

+/- 0.467 μs

Part 2

Mean

Error

JVM

3004.464 μs

+/- 35.764 μs

JS

777.223 μs

+/- 0.861 μs

Native

12351.364 μs

+/- 14.192 μs

Run it in the browser!