Day 1: Trebuchet?!

Puzzle Description

Advent of Code 2023, Day 1

Scala Center Advent of Code 2023, Day 1

Benchmark

Part 1

Mean

Error

JVM

0.701 ms

+/- 0.018 ms

JS

2.852 ms

+/- 1.165 ms

Native

0.348 ms

+/- 0.012 ms

Part 2

Mean

Error

JVM

6.395 ms

+/- 1.711 ms

JS

4.161 ms

+/- 0.336 ms

Native

13.333 ms

+/- 0.677 ms

Run it in the browser!