Murt
Joined: 26 Sep 2006 Posts: 9
|
Posted: Tue Sep 18, 2007 4:20 pm Post subject: PRINT command as memory dump |
|
|
Hi all,
I have a program that opens a file in a graphic region and displays it.
It takes a very long time on the network to open the file however if the file is local based it opens it in milli/micro seconds.
After spending hours into it I got it to go quite fast but not as fast as local file. The thing I noticed is that if I use a 'PRINT *, ' command just to display some values of the variables, while it is opening the file, it works much quicker but when I remove the PRINT command it slows to almost half the speed.
Opening a file on network WITH PRINT command : 2.5 seconds
Opening a file on network WITHOUT PRINT command : 4.5 seconds
Could anybody tell me why this is?, I read something about PRINT command being a memory dump of some sort, if that is the case then, is there a method I can use to dump memory without showing it to the user i.e. without using the PRINT command, is there any other way to achieve this?
Thanking you all in advance.
Murt |
|