Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Once upon a time, memory allocators made sense. Parent comment
At worst, using realloc produces the same results as malloc/memcpy/free. At best, it might save a memcpy. No harm in giving it that flexibility.
There are no comments on this comment yet.
At worst, using realloc produces the same results as malloc/memcpy/free. At best, it might save a memcpy. No harm in giving it that flexibility.