Files
2019/utilities
Parnic 982576dc68 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-22 16:52:32 -05:00
..
2022-06-18 23:07:38 -05:00
2022-06-22 16:52:25 -05:00
2022-06-06 15:14:31 -05:00
2022-06-13 15:30:17 -05:00
2022-06-22 16:52:32 -05:00
2022-06-22 16:52:18 -05:00
2022-06-13 15:30:17 -05:00
2022-06-13 15:30:17 -05:00
2022-06-10 09:42:04 -05:00
2022-06-13 15:30:17 -05:00
2022-06-22 16:52:18 -05:00