Re: Copy portions of array
- From: erewhon@xxxxxxxxxx (J French)
- Date: Fri, 22 Dec 2006 08:30:13 GMT
On Thu, 21 Dec 2006 12:34:00 -0600, "wxforecaster"
<wxforecaster@xxxxxxxxx> wrote:
The main byte array is a file being read in, which is discarded afterwards.
The feed to the smaller byte arrays is for processing the byte data in this
binary file. Yes, I need to copy it.
I would stick with the Loop, although I would box it in a Sub or
Function.
When compiled VB is astonishingly fast at dealing with Byte Arrays, I
discovered this when I wrote a Delphi DLL for sorting large files.
I gave the DLL an option to CallBack to VB to perform the comparison,
to my surprize the CallBack version was as fast as the Delphi version,
and Delphi is hard to beat even using ASM
Of course you could use CopyMemory, but if you do, I would box it up
carefully.
.
- References:
- Copy portions of array
- From: wxforecaster
- Re: Copy portions of array
- From: Larry Serflaten
- Re: Copy portions of array
- From: wxforecaster
- Copy portions of array
- Prev by Date: Re: RTF control and SelIndent
- Next by Date: Re: Resize Shape Control
- Previous by thread: Re: Copy portions of array
- Next by thread: Anti-Piracy Scheme
- Index(es):
Relevant Pages
|