[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange memory problem



"Mark D. Williams" wrote:
> FWIW, if you want to save time and memory, a faster way to do the above
> is as follows:
> 
> WAVE> temp = BYTARR(1000,1000,25, /NoZero) + 10B

I get the fastest response (in IDL) with

temp = replicate(10B, 1000, 1000, 25)

Cheers,
Liam.

-- 
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley