Subject: Re: Performance of various memcpy()'s
To: None <tech-perform@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-perform
Date: 10/23/2002 21:05:50
In article <20021022224358.W2946@dhcp7.wlan.shagadelic.org>,
Jason R Thorpe <thorpej@wasabisystems.com> wrote:
>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.

I totally agree here. memcpy() is forward only on most systems.

christos