comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Speeding up I/O
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Speeding up I/O [message #38544] Tue, 16 March 2004 13:13
Ken Knapp is currently offline  Ken Knapp
Messages: 14
Registered: April 2003
Junior Member
Are there any tricks to speed up I/O?
Situation: I have 1.2 TB of data to process. The following is a typical
read statement:
in = {header:bytarr(128),scan:intarr(1250)}
image = replicate(in,1250)
openr,1,file
readu,1,image
close,1
Then I process the image and output something. The slow part is in the
readu [I used profiler to find that readu IS slowing me down, the
computations are only a fraction of the read time].
Any suggestions on how to speed it up?
Tricks to make the computer find files faster?
Would Fortran/C be faster?

Any help is greatly appreciated.
-Ken
--
***** to reply remove the _REMOVE_ *****

Ken Knapp Ken.Knapp@_REMOVE_noaa.gov
Remote Sensing and Applications Division
National Climatic Data Center
151 Patton Ave
Asheville, NC 28806
828-271-4339 (voice) 828-271-4328 (fax)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: change perspective in 3d-plot
Next Topic: Re: Customizing linestyles for PLOT?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:39:32 PDT 2025

Total time taken to generate the page: 0.00406 seconds