Date: Thu, 10 Jul 1997 10:25:42 -0400 (EDT) From: "Art S. Kagel" To: David Orme Cc: djgpp AT delorie DOT com Subject: Re: [Q] Memory Transfers In-Reply-To: <5q1lae$dtv$1@grissom.powerup.com.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 10 Jul 1997, David Orme wrote: > I have two arrays, larger than 64K in size, and I need to copy one to the > other VERY quickly. A browse through the RHIDE help files gives the > following as options: > > memcpy > bcopy > dosmemget, dosmemput > dosmemgetb, dosmemputb > dosmemgetl, dosmemputl > dosmemgetw, dosmemputw > movedata > movedatab > movedatal > movedataw As long as the two arrays do not overlap use either bcopy or memcpy. Performance should be equal. The others are special purpose, like copying to/from DOS real addresses. Art S. Kagel, kagel AT bloomberg DOT com