Re: saving variables between calls to a procedure? [message #31603 is a reply to message #31602] |
Wed, 31 July 2002 21:13   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
JD Smith (jdsmith@as.arizona.edu) writes:
> I just realized a factor of two increase in speed in a case of very
> repetitive use of the a=[a,b] mechanism with vectors of length 10 or less!
Alright, I concede that this is probably not fast,
although the vectors I use this technique with always have
fewer than 100 elements, and I've always found it to
be fast enough. (I just shake my head at the reports
of people who have tried it with vectors of length
10 bazillion or so, and have been disappointed.)
But I stand by my statement that it's neat. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|