Day 8: Seven Segment Search

Puzzle Description

Advent of Code 2021, Day 8

Scala Center Advent of Code 2021, Day 8

Full Solution Source

My Solution for 2021, Day 8

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

Benchmark

Part 1

Mean

Error

JVM

1140.367 μs

+/- 19.940 μs

JS

1176.705 μs

+/- 1.099 μs

Native

3783.265 μs

+/- 3.032 μs

Haskell

1800.281 μs

+/- 14.062 μs

Part 2

Mean

Error

JVM

1914.022 μs

+/- 12.638 μs

JS

1872.787 μs

+/- 2.990 μs

Native

4977.757 μs

+/- 6.770 μs

Haskell

4877.981 μs

+/- 20.669 μs

Run it in the browser!