Day 1: Calorie Counting

Puzzle Description

Advent of Code 2022, Day 1

Scala Center Advent of Code 2022, Day 1

Full Solution Source

My Solution for 2022, Day 1

Benchmark

Part 1

Mean

Error

JVM

335.528 μs

+/- 2.836 μs

JS

189.515 μs

+/- 0.175 μs

Native

529.037 μs

+/- 0.694 μs

Part 2

Mean

Error

JVM

403.608 μs

+/- 2.958 μs

JS

206.284 μs

+/- 0.211 μs

Native

556.419 μs

+/- 0.598 μs

Run it in the browser!