Improve/remove realloc()
Closed this issue · 0 comments
flavioribeiro commented
it's really necessary to realloc on every write call? why not alloc a big portion of memory just one time and make the length attribute of the structure take care of where's the end of the buffer?