intarr speed in structure [message #10852] |
Mon, 16 February 1998 00:00 |
c.c.mclean
Messages: 2 Registered: February 1998
|
Junior Member |
|
|
Hi,
When I allocate an array, as part of a structure, it
takes far longer to perform the operation than normal.
ie. a) is much quicker than b) where:-
a) array=intarr(x,y,z)
b) array={volume:intarr(x,y,z)}
if I use x=2048,y=240,z=5 a) takes 0.1s, b) takes 0.4s
if I use x=2048,y=240,z=15 a) takes 0.4s,b) takes 2mins
The same thing happens with IDL 5.03 under win95 (P200, 32MB)
and with IDL 4 on an HP workstation.
Can anybody explain why there is this difference!
TIA
Calum...
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
|
|
|