use endpoints map to keep score (size of map)

This commit is contained in:
2024-12-10 23:07:05 +00:00
parent 2c3e68d884
commit c12cc2c38e
4 changed files with 21 additions and 32 deletions

View File

@@ -2,5 +2,5 @@ goos: linux
goarch: amd64
pkg: github.com/onyx-and-iris/aoc2024/day-10/internal/two
cpu: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
BenchmarkSolve-12 1000000000 0.0009003 ns/op
ok github.com/onyx-and-iris/aoc2024/day-10/internal/two 0.012s
BenchmarkSolve-12 1000000000 0.0008468 ns/op
ok github.com/onyx-and-iris/aoc2024/day-10/internal/two 0.011s