Archive for May 10th, 2006

Wednesday, May 10th, 2006

The TEMPORARY function

The TEMPORARY routine is a simple way to use memory more efficiently. Statements of the form

a = a + 5

create a temporary variable to hold the intermediate result a + 5. This temporary variable effectively doubles the amount of memory needed to store a (but only for the time necessary to do the operation). This [...]

3 Comments » - Posted in IDL, Optimization by Michael Galloy