www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/13/02:51:38

From: Eric Lange <nospam AT thisaddress DOT please>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019