Re: regarding memmov( )
- From: Guy Harris <gharris flashcom net>
- To: Kaz Kylheku <kaz ashi footprints net>
- Cc: "Bukka, Veerasham" <vbukka lucent com>, "'gtk-devel-list gnome org'" <gtk-devel-list gnome org>
- Subject: Re: regarding memmov( )
- Date: Wed, 18 Oct 2000 22:48:06 -0700
On Wed, Oct 18, 2000 at 12:42:08PM -0700, Kaz Kylheku wrote:
> I would rather spend the time
> finding a design which avoid the memory move entirely, than worry about the
> speed of the memory move.
Or, to put it another way, the *fastest* memory copy is the one you
don't do at all.
(But if you have to do one, "memcpy()" *might* be faster than
"memmove()". "memcpy()" might not work if the source and destination
overlap, and, on some platforms, an implementation that doesn't try to
make that work might be faster.)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]