dynarray icon indicating copy to clipboard operation
dynarray copied to clipboard

Use realloc instead of malloc memcpy free, when resizing array.

Open BenjaminYankowitz opened this issue 9 months ago • 0 comments

_dynarray_resize no longer calls _dynarray_create or _dynarray_destroy. It simply calls realloc then updates capacity (as length and stride do not change).

BenjaminYankowitz avatar May 08 '25 23:05 BenjaminYankowitz