Skip to content
Commit af7f4165 authored by Florian Weimer's avatar Florian Weimer
Browse files

libio: Convert __vasprintf_internal to buffers



The buffer resizing algorithm is slightly different.  The initial
buffer is on the stack, and small buffers are directly allocated
on the heap using the exact required size.  The overhead of the
additional copy is compensated by the lowered setup cost for buffers
compared to libio streams.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent fb9bd841
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment