Files
2019/utilities
Parnic ca6a16cedd 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 12:20:37 -05:00
..
2022-06-14 09:21:10 -05:00
2022-06-06 15:14:31 -05:00
2022-06-21 12:18:31 -05:00
2022-06-21 12:20:37 -05:00
2022-06-21 12:18:31 -05:00
2022-06-10 09:42:04 -05:00
2022-06-15 08:58:51 -05:00
2022-06-21 12:18:31 -05:00