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

Home » Public Forums » archive » Re: [Q] Reading from file, speed
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: [Q] Reading from file, speed [message #18911] Thu, 10 February 2000 00:00 Go to previous message
Koen Janssens is currently offline  Koen Janssens
Messages: 3
Registered: February 2000
Junior Member
And indeed it is not, with your idea it only takes about a millisecond.

Thanks a lot!

Koen

David Fanning wrote:

> IDL is sometimes considered a loopy language, but
> it is definitely NOT a looping language. :-)
>
> Those FOR loops are killing you. Try something
> like this:
>
> openr, ms_dat_unit, ms_dat_file, /get_lun
> ms = bytarr(dimx,dimy,dimz)
> readu, ms_dat_unit, ms
> free_lun, ms_dat_unit
>

--
Dr. ir. Koen Janssens
Room No. F21, Institut f�r Umformtechnik, ETH Zentrum CLA
Tannenstrasse 3, CH-8092 Z�rich, Switzerland
Tel: +41-1-6320623, Fax: +41-1-6321289
E-mail: janssens@ifu.bepr.ethz.ch, www.ifu.ethz.ch
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Error Handling, Was: Passing optional parameters
Next Topic: [Q] Reading from file, speed

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

Current Time: Fri Oct 10 08:33:43 PDT 2025

Total time taken to generate the page: 0.00190 seconds