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

Home » Public Forums » archive » accessing large arrays quickly
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
accessing large arrays quickly [message #15615] Thu, 27 May 1999 00:00
D. Mattes is currently offline  D. Mattes
Messages: 14
Registered: May 1999
Junior Member
hello idl gurus: i have a very large volume array out of which i extract
3 orthogonal 2-d slices and display these slices in three separate
windows. i extract a slice by assignment:

slice=data(*,*,zslice)

then i scale the slice, and finally display it using tv. once the volume
grows to larger than 10Meg, i suffer a performance hit on the array access
times, and my image browser slows down considerably. how can i improve
performance???

some ideas i've had:
1. render the entire volume and specify cutting planes to just display
the slice of interest.
2. use an external c function, like memcpy, to speed up the variable
swapping when i assign 2-d array as a crosssection of the volume array.
3. store each possible slice separately, perhaps in a linked list.

do you idl gurus out there have any suggestions or comments on my ideas???

thank you in advance for your time.

david mattes
[Message index]
 
Read Message
Previous Topic: Timing and Efficiency of WHERE function
Next Topic: sph_scat: does it work?

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

Current Time: Wed Oct 08 15:33:12 PDT 2025

Total time taken to generate the page: 0.00408 seconds