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

Home » Public Forums » archive » Re: Efficient sub array extraction
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: Efficient sub array extraction [message #82421 is a reply to message #82420] Tue, 11 December 2012 15:40 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Phillip M. Bitzer writes:

> In short, array subscripting can take up a lot of memory. Take a peek at:
>
> http://www.idlcoyote.com/misc_tips/submemory.html
>
> There's some helpful information by none other than JD Smith.

Subscripting *can* take a lot of memory, but unless
there is a specific reason you are worried about
this, I wouldn't bother changing a thing. Reading
your large array into memory is what is killing you,
not the subscripting. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: increment an array subset based on another subset
Next Topic: Re: array manipulation (TOTAL-ing or MEDIAN-ing) in uneven bins

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

Current Time: Wed Oct 08 18:26:30 PDT 2025

Total time taken to generate the page: 0.00374 seconds