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

Home » Public Forums » archive » Re: about replicate_inplace
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: about replicate_inplace [message #35890] Wed, 23 July 2003 11:04 Go to previous message
xje4e is currently offline  xje4e
Messages: 18
Registered: February 2002
Junior Member
"Richard Younger" <younger@ll.MIT.edu> wrote in message
news:3F1ECC7B.B3E675BA@spaMIT.edu...
> 0.37500000 seconds, BYTARR and [*]
> 0.35899997 seconds, BYTARR/nozero and [*]
> 0.14100003 seconds, BYTARR and REPLICATE_INPLACE
> 0.12500000 seconds, BYTARR/nozero and REPLICATE_INPLACE
> 0.10899997 seconds, REPLICATE_INPLACE
> 0.12500000 seconds, MAKE_ARRAY
> 0.093999982 seconds, onebyte+BYTARR

From these results, it seems that replicate_inplace is the quickest way to
assign particular values to an array. But to have an array having values 0,
BYTARR is the quickest way according to my test.

Best regards,

Xiaoying
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Leading zeros in Format
Next Topic: IDL 6.0 is released!

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

Current Time: Thu Oct 09 20:40:39 PDT 2025

Total time taken to generate the page: 0.55771 seconds