Day 16: Packet Decoder

Puzzle Description

Advent of Code 2021, Day 16

Scala Center Advent of Code 2021, Day 16

Full Solution Source

My Solution for 2021, Day 16

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

Benchmark

Part 1

Mean

Error

JVM

159.187 μs

+/- 0.976 μs

JS

68.892 μs

+/- 0.142 μs

Native

112.223 μs

+/- 1.058 μs

Part 2

Mean

Error

JVM

133.282 μs

+/- 1.456 μs

JS

54.834 μs

+/- 0.048 μs

Native

95.099 μs

+/- 0.928 μs

Run it in the browser!