|
-
Nov 6th, 2002, 11:16 PM
#1
Thread Starter
Lively Member
Enhancing performance with files and arrays
The VB6 program I'm working on often loads files which are 20MB-80MB, into an array for temporary storage before processing.
The array is a member of a Class.
There's a nested for loop at which the data gets transferred from the temp array to the permanent array.
I'm not sure why the designer did this. I'm still trying to figure out the rest of the program.
I've optimized the for loops so no math is done inside the loops themselves. This only reduced the loop time by 1000 ticks, out of 31,000 ticks (total loop time for both loops)
Are there any other ways to optimize (for speed) loading data from a File (using Get) into an Array in VB?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|