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

Home » Public Forums » archive » Arrays vs. Structure Arrays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Arrays vs. Structure Arrays [message #89548] Fri, 24 October 2014 18:57 Go to next message
rmp116 is currently offline  rmp116
Messages: 3
Registered: October 2014
Junior Member
If I pass a structure as a parameter to a procedure and want to perform operations on one of the arrays in the structure (i.e. structure.Array), would the procedure operate more efficiently if I redefined the array as a local variable (i.e. newArray = structure.Array)?

Also, do any of you know of any good resources for optimizing code efficiency? Some of my programs run quite slowly and I think it might be because I am not utilizing IDL arrays as efficiently as I could be.

Thank you,
Robert
Re: Arrays vs. Structure Arrays [message #89549 is a reply to message #89548] Fri, 24 October 2014 19:00 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
rmp116@gmail.com writes:

> Also, do any of you know of any good resources for optimizing code efficiency?

Do you mean other than the 500+ articles on my web page?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Colorado Trail Video
Next Topic: How to choose the Language of IDL Workbench on mac os

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

Current Time: Wed Oct 08 13:31:33 PDT 2025

Total time taken to generate the page: 0.00580 seconds