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

Home » Public Forums » archive » Interesting Rant
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: Interesting Rant [message #51377 is a reply to message #51314] Wed, 15 November 2006 15:55 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
gknoke wrote:
> Correct me if I'm wrong, but it's my understanding that for loops in
> IDL are so painfully slow because so much effort has been put into
> making vector operations so mind-numbingly fast, and there's some

My understanding, which may also be incorrect, is that you've got cause
and effect reversed. Loop operations are inherently slow because IDL is
fundamentally an interpreted language, so the loop body has to be
re-interpreted during each pass through the loop, just in case
something has happened that would change the interpretation of the
code.
Because loop operations are so slow, there's been a strong incentive to
provide ways of avoiding them, by making vector operations fast.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Bitmap vectorization
Next Topic: Color background with PLOT

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

Current Time: Wed Oct 08 19:33:36 PDT 2025

Total time taken to generate the page: 0.00441 seconds