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

Home » Public Forums » archive » () and execution speed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
() and execution speed [message #44955] Fri, 29 July 2005 05:42 Go to previous message
Gert is currently offline  Gert
Messages: 11
Registered: December 2001
Junior Member
Hi,

I just played with and array of structures, each structure containing a
(float) images.
If i do

SomeProc, psData[NumStruct].flIm[1:1000]

or

SomeProc, (psData[NumStruct].flIm)[1:1000]

then the result is the same, but the second runs much slower. Anyone knows
why this is so? My guess is that in the second run, a copy of the array is
made.

I would be interested to find out if there are more 'pitfalls' out there.

good WE,

Gert


--
[Message index]
 
Read Message
Read Message
Previous Topic: avoiding for loops
Next Topic: Trouble running demo

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

Current Time: Wed Oct 08 15:37:53 PDT 2025

Total time taken to generate the page: 0.00381 seconds