Subject: Re: Performance of various memcpy()'s
To: Bang Jun-Young <junyoung@mogua.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-perform
Date: 10/22/2002 22:43:58
On Wed, Oct 23, 2002 at 11:37:45AM +0900, Bang Jun-Young wrote:
> BTW, I noticed that our i386 memcpy() in libc checks for overlapping,
> although the manpage says "to copy byte strings that overlap, use
> memmove(3)."
Yes, I would strongly support making memcpy() forward-only.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>