Ok then. Thanks!
On Sat, May 28, 2016 at 10:12:19PM -0400, DJ Delorie wrote:
>
> Alan Modra writes:
> > * xmemdup.c (xmemdup): Use xmalloc rather than xcalloc.
>
> In glibc at least, calloc can be faster than memset if the kernel is
> pre-zero-ing pages. Thus, in those cases, your change makes the code
> sl
Alan Modra writes:
> * xmemdup.c (xmemdup): Use xmalloc rather than xcalloc.
In glibc at least, calloc can be faster than memset if the kernel is
pre-zero-ing pages. Thus, in those cases, your change makes the code
slower by adding an unneeded memset. Have you considered these cases?