7 Commits

Author SHA1 Message Date
02fc154547
grid: use coord2d more consistently 2024-12-21 21:01:16 -08:00
5e8b974137
clippies!
All checks were successful
test / AoC 2024 (push) Successful in 1m44s
2024-12-16 14:54:48 -08:00
c31d653612
day16: minor performance and refactoring
All checks were successful
test / AoC 2024 (push) Successful in 3m44s
2024-12-16 01:33:02 -08:00
20e6889572
day16: improve perf again by going to i16 positions
All checks were successful
test / AoC 2024 (push) Successful in 5m29s
map dimensions fit in i16, so use those in data structures

make grid support generic position type as long as they implement to i64
2024-12-16 01:06:39 -08:00
755fbbc53d
day16: refactor, optimize
split path recording and best cost functions for big gainz

use i32 instead of i64 positions to shrink data structures for some
gainz
2024-12-16 00:58:15 -08:00
4b85a90635
day16: part 2 solution
All checks were successful
test / AoC 2024 (push) Successful in 3m7s
2024-12-15 23:22:14 -08:00
6283ff37f9
day16: part 1 solution
All checks were successful
test / AoC 2024 (push) Successful in 2m56s
2024-12-15 22:06:21 -08:00