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

Home » Public Forums » archive » Short array memory allocation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Short array memory allocation [message #61308 is a reply to message #61225] Fri, 11 July 2008 07:20 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<eb7e674b-929d-4775-a3db-92d2f60d30b2@m44g2000hsc.googlegroups.com>,
ray.laymon064@gmail.com wrote:

> That was the answer I was afraid to get..
> I tried opening and closing the files only and it took the ~same
> time...
>
> Still, is there any IDL setting that I can change and make my IDL use
> more sources?
> In a way IDL to open/read the file faster.
>
>
> Ray,
>
> p.s. I have 7200 rpm SATA disk, and unfortunately I can't modify..

What you are seeing is the OS overhead for opening and closing
a file. If you need to do this operation repeatedly, then you
should consider merging the files into a small number of larger
files.

If you know that you are always going to be accessing the data
in the same manner (e.g., one value from many records), you would
get a significant speed-up by transposing the data order so that
"file index" is your first dimension.

This will be slow to do, but you will only have to do it once.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Can i avoid the loop,help me speed up,thanks
Next Topic: neural networks

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

Current Time: Fri Oct 10 22:09:58 PDT 2025

Total time taken to generate the page: 0.56411 seconds