reimplement day-09 with min heaps

re-run benchmarks
This commit is contained in:
2024-12-19 12:54:40 +00:00
parent c3fa65e4a8
commit 1b0f02b430
12 changed files with 302 additions and 257 deletions

View File

@@ -2,5 +2,5 @@ goos: linux
goarch: amd64
pkg: github.com/onyx-and-iris/aoc2024/day-09/internal/two
cpu: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
BenchmarkSolve-12 1 22722704246 ns/op
ok github.com/onyx-and-iris/aoc2024/day-09/internal/two 22.726s
BenchmarkSolve-12 1000000000 0.01642 ns/op
ok github.com/onyx-and-iris/aoc2024/day-09/internal/two 0.106s