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

Home » Public Forums » archive » Re: call_external for file I/O
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: call_external for file I/O [message #13213 is a reply to message #13186] Thu, 22 October 1998 00:00 Go to previous messageGo to previous message
Charlie Solomon is currently offline  Charlie Solomon
Messages: 10
Registered: September 1998
Junior Member
Mark Rivers wrote in message ...

> I am not sure what you mean. Is the data actually in a disk file or is it
in
> memory? If it is in a disk file then some process needs to do the disk
I/O.
> If it is in memory then call_external can be used to get it into IDL.


The data is in a disk file initially, the map_file routine puts the relevant
part of the file into memory and sets those pages for sequential access, so
that when IDL accesses the data in memory it is not based on an algorithm
like most recently used. This is optimal for image data in which you may
need to access different subsets of the array at different times.

> Note that IDL's disk I/O on NT is quite fast. >5MB/sec is not hard to
achieve
> using writeu and readu.

I agree that it is fast, but the method we use on our Solaris machine seems
much faster for the same files. I don't have time data available right now,
but I could get it if needed.

Thanks for your reply,
Charlie Solomon
Raytheon Systems Co.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Finding "objects" in images
Next Topic: Re: Anybody !!! Help me !!! About IDL!!! And ...

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

Current Time: Wed Oct 15 14:03:31 PDT 2025

Total time taken to generate the page: 1.43803 seconds