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

Home » Public Forums » archive » Re: IDL, PV-Wave, Matlab, Khoros
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: IDL, PV-Wave, Matlab, Khoros [message #670] Thu, 21 January 1993 07:59 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
In article <1jjo6jINN1tn@usenet.INS.CWRU.Edu>, at913@cleveland.Freenet.Edu (Mirko Vukovic) writes...

(stuff deleted)

> Programs written in IDL can be 30-60 times slower than equivalent programs
> written in FORTRAN, but if one uses extensive array manipulation facilities
> execution improves tremendously (factors of 10).

(rest deleted)

Actually our experience has been that, depending on the problem and how the IDL
code is written, IDL routines are just about as fast as an equivalent FORTRAN
routine. The secret seems to be the use of loops. If you can write your code
without any DO loops--and a lot of times you can--then IDL's performance is
just about the same as a FORTRAN routine. If you need to use loops, then
performance suffers greatly from the need to reinterpret the commands over and
over again.

A lot of times I've seen less experienced IDL programs use loops when there
were ways to avoid them--I've been guilty of it myself.

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Creating LP Filters
Next Topic: PV-Wave X output directed into another X Application

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

Current Time: Sat Oct 11 12:51:20 PDT 2025

Total time taken to generate the page: 1.49281 seconds