[PATCH v2 2/2] stdio-common: Remove fallback realloc calls from vfscanf
Collin Funk
collin.funk1@gmail.com
Thu Aug 20 06:21:30 GMT 2026
Florian Weimer <fweimer@redhat.com> writes:
> These merely delay the inevitable on 32-bit architectures.
> Growing a buffer one character at a time is very slow, so this
> could lead to even more processing time for very large inputs.
> ---
> v2: Typo fixes, bug reference.
> stdio-common/vfscanf-internal.c | 316 +++++++++-----------------------
> 1 file changed, 82 insertions(+), 234 deletions(-)
Makes sense to me.
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Collin
More information about the Libc-alpha
mailing list