mirror of
https://github.com/curl/curl.git
synced 2026-08-26 18:23:32 +03:00
dynbuf: introduce internal generic dynamic buffer functions
A common set of functions instead of many separate implementations for creating buffers that can grow when appending data to them. Existing functionality has been ported over. In my early basic testing, the total number of allocations seem at roughly the same amount as before, possibly a few less. See docs/DYNBUF.md for a description of the API. Closes #5300
This commit is contained in:
parent
00c2e8da9a
commit
ed35d6590e
27 changed files with 881 additions and 862 deletions
|
|
@ -38,7 +38,6 @@ nothing
|
|||
<file name="log/memdump">
|
||||
MEM lib558.c: malloc()
|
||||
MEM lib558.c: free()
|
||||
MEM escape.c: malloc()
|
||||
MEM strdup.c: realloc()
|
||||
MEM strdup.c: realloc()
|
||||
MEM escape.c: free()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue