|
-
May 13th, 2000, 11:24 AM
#1
Thread Starter
Member
I am using large arrays with up to 500,000 elements. After each iteration, I can release about 3,000 elements to memory with
Redim Preserve Array(size-3000)
How can I assign the newly released memory to work on the remaining floating point operations that need to be done?
pete
-
May 13th, 2000, 01:06 PM
#2
Fanatic Member
??????????????????
the released memory is handed back to the OS, which in turn will pass back whatever resources you need (assuming they exist) which is why it's good to release them where possible.
I doubt floating point operations would benifit from more memory anyway, but they do benefit from spare CPU cycles, which is what you should be trying to free up (using more efficient algorithms) if your floating point math is running slow
What problem are you actually experiencing?
cheers
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
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
|