This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] libio/vasprintf.c: Always use realloc.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Siddhesh Poyarekar <sid at reserved-bit dot com>
- Date: Fri, 4 Mar 2016 10:42:39 -0800 (PST)
- Subject: Re: [PATCH] libio/vasprintf.c: Always use realloc.
- Authentication-results: sourceware.org; auth=none
- References: <565870B7 dot 2020901 at redhat dot com> <565DCC79 dot 3060006 at redhat dot com>
> I'm going to drop this until I can get a benchtest to show this
> is better than before.
IMHO if benchmarks simply show it's not clearly worse, then you should go
ahead because it simplifies the code. If the motivation for a change is
not performance alone, then it doesn't need to demonstrate a performance
improvement per se.