Closed flavioribeiro closed 11 years ago
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?
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?