2 Commits

Author SHA1 Message Date
3f1c66813c Add support for cpu and memory profiling
My day 18 was slow and I wasn't completely certain where it was all coming from, so I dove into Go's profiling stuff. It was super helpful in identifying the problem and giving me easy wins that took runtime from 4.6s/14.4s (part 1/part 2) to 180ms/50ms just from swapping some arrays for maps, which the profile pointed out very clearly.
2022-07-12 08:44:46 -05:00
662d76eb7c Bootstrap and day 1 solution 2022-06-06 15:14:31 -05:00