Go to file
Parnic e153d022a7 Intcode Reset optimization
Initially I noticed that I was copying twice unnecessarily (once in init() after nulling out memory, and again after returning from init()). After cleaning that up, I realized that we don't need to create a new buffer at all if the program never malloc-ed, so sometimes we can skip the re-init and we can always avoid the double-copy. I don't know if this is actually measurable anywhere, but I spot-checked some results and I still seem to be getting the same answers, so I'm gonna roll with it.
2022-06-21 01:17:33 -05:00
2022-06-06 15:14:31 -05:00
2022-06-21 01:17:31 -05:00
2022-06-18 23:13:19 -05:00
2022-06-21 01:17:33 -05:00
2022-06-18 23:13:19 -05:00
2022-06-18 23:13:19 -05:00
2022-06-18 23:13:19 -05:00
2022-06-07 09:54:20 -05:00

Advent of Code 2019

My solutions to Advent of Code 2019.

Description
No description provided
Readme 1.6 MiB
Languages
Go 100%