Mail Archives: djgpp/1997/07/10/10:28:00
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
- Raw text -