This solves both parts much faster than before, but still on the order of 3-20 seconds, so more improvements (or another rewrite?) are needed. But we're getting there...
6 lines
81 B
Modula-2
6 lines
81 B
Modula-2
module parnic.com/aoc2019
|
|
|
|
go 1.18
|
|
|
|
require github.com/edwingeng/deque/v2 v2.0.1
|