Day 18: Snailfish

Puzzle Description

Advent of Code 2021, Day 18

Scala Center Advent of Code 2021, Day 18

Full Solution Source

My Solution for 2021, Day 18

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

Benchmark

Part 1

Mean

Error

JVM

12.268 ms

+/- 0.518 ms

JS

19.847 ms

+/- 0.196 ms

Native

27.449 ms

+/- 0.034 ms

Part 2

Mean

Error

JVM

88.168 ms

+/- 0.949 ms

JS

237.923 ms

+/- 5.862 ms

Native

332.211 ms

+/- 2.914 ms

Run it in the browser!