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

Home » Public Forums » archive » Re: Strange memory problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Strange memory problem [message #18329] Wed, 22 December 1999 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
"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
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: idl 5.3 runtime on idl 5.2 system work?
Next Topic: fortran .dll using ms powerstation

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

Current Time: Sat Oct 11 09:14:39 PDT 2025

Total time taken to generate the page: 1.11339 seconds