Day 10: Syntax Scoring

Puzzle Description

Advent of Code 2021, Day 10

Scala Center Advent of Code 2021, Day 10

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

Benchmark

Part 1

Mean

Error

JVM

507.553 μs

+/- 2.865 μs

JS

241.329 μs

+/- 0.299 μs

Native

285.193 μs

+/- 0.560 μs

Haskell

284.356 μs

+/- 1.537 μs

Part 2

Mean

Error

JVM

539.700 μs

+/- 2.386 μs

JS

262.361 μs

+/- 0.300 μs

Native

307.908 μs

+/- 0.592 μs

Haskell

310.374 μs

+/- 1.860 μs

Run it in the browser!