dynarray
dynarray copied to clipboard
Use realloc
During reallocation this implementation calls malloc and free to create a new buffer twice the size and to deallocate the old buffer. The function realloc can be more efficient because sometimes it can just extend the allocated buffer to the requested length. We should rewrite _dynarray_resize to use realloc.
In progress. BenjaminYankowitz is working on #7