From: Kelly Yancey [mailto:kby...@alcnet.com]
>I have another post on this list which begs the question: if memory given
>to us fro sbrk() is already zeroed, why zero it again if we don't have
>too.... if we make calloc() smarter, we could save come clock cycles.

Because the memory returned from malloc() might be from a previous
malloc()/free() and may be dirty.

Charles


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to