Day 10: Syntax Scoring

Puzzle Description

Advent of Code 2021, Day 10

Scala Center Advent of Code 2021, Day 10

Full Solution Source

My Solution for 2021, Day 10

There's no writeup yet, but you can view the benchmark and solution here:

Benchmark

Part 1

Mean

Error

JVM

583.168 μs

+/- 10.173 μs

JS

253.843 μs

+/- 0.372 μs

Native

319.368 μs

+/- 0.577 μs

Haskell

284.356 μs

+/- 1.537 μs

Part 2

Mean

Error

JVM

633.776 μs

+/- 6.915 μs

JS

283.556 μs

+/- 0.453 μs

Native

343.329 μs

+/- 0.738 μs

Haskell

310.374 μs

+/- 1.860 μs

Run it in the browser!