3 ms·
Congratulations, you have reinvented realloc and are no longer using simple static arrays.
by account42 2y ago
Congratulations, you have reinvented realloc and are no longer using simple static arrays.
- mananaysiempre 2y agoUnlike realloc, though, I’m keeping element addresses stable. (I’m actually somewhat conflicted about TFA’s idea, for what it’s worth, I just don’t think freeing memory is the most problematic part of it.)