Arrays vs. Structure Arrays [message #89548] |
Fri, 24 October 2014 18:57  |
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
|
|
|
|