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

Home » Public Forums » archive » Re: Storing data in an array inside a structure MUCH slower in IDL 8.2.2
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: Storing data in an array inside a structure MUCH slower in IDL 8.2.2 [message #83337 is a reply to message #83335] Thu, 21 February 2013 07:58 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Thursday, February 21, 2013 4:17:15 PM UTC+1, markbates wrote:
> that's scary. I would hate to inadvertently use a structure like this
>
> in my code which could cause such a slowdown. What changed between
>
> IDL 8.1 and 8.2 which could account for this? Even in 8.1 we already
>
> have the 'dot' operator for accessing object methods...?
>
>
>
> any response from Excelis?
>
>
>
> Mark

Dear Mark,
some time ago I ran into a problem with objects vs structures and Chris Torrence from IDL just mentioned that this was corrected starting with version 8.2.1.
See the post: https://groups.google.com/d/msg/comp.lang.idl-pvwave/uz886Nk HqMo/a5WsD7sz1bEJ

So basically I found that calling a structure with an object reference could be done only like this
PRINT, (self.FirstObj).Var1
where FirstObj is a property of the object that points to another object.
In IDL 8.2.1 you may use this syntax:
PRINT, self.FirstObj.Var1

Yes, so there is a difference between versions earlier than 8.2.0 and starting from 8.2.1 the new syntax is accepted and therefore at run time it has to be checked if it is an object.method or structure.tag

Hope it helps in finding out what has changed in the different IDL versions,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calculating weighted mean for an array
Next Topic: Re: IDL use by OS

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

Current Time: Wed Oct 08 19:59:03 PDT 2025

Total time taken to generate the page: 0.00734 seconds