From: Eric Lange Newsgroups: comp.os.msdos.djgpp Subject: Re: [Q] Memory Transfers Date: Thu, 10 Jul 1997 12:19:05 -0700 Organization: E-mu Systems, Inc. Lines: 32 Message-ID: <33C535A9.587E@thisaddress.please> References: <5q1lae$dtv$1 AT grissom DOT powerup DOT com DOT au> Reply-To: nospam AT thisaddress DOT please NNTP-Posting-Host: 192.136.8.26 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 > > Quite a list, don't you think? > > My question is: Which is the fastest? > > Thanx in advance... Well, clearly, get rid of the ones with 'b' or 'w' at the end. I haven't checked the assembly, but I believe that 'movedatal' would be the fastest. But, make sure that your buffers are on dword boundaries. Eric -- --------------------------------------------------------------------- To reply: send to ericl AT emu DOT com, do not simply reply. Thanks.