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

Home » Public Forums » archive » Re: IDLVM and retall
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: IDLVM and retall [message #49995 is a reply to message #49994] Fri, 08 September 2006 09:12 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Fri, 08 Sep 2006 09:28:20 -0600, David Fanning wrote:

> JD Smith writes:
>
>> Keep
>> in mind that there are many many event callback procedure operating
>> simultaneously, so you don't want to put a CATCH statement in all of
>> them (plus it's slow for each motion event to call CATCH).
>
> Ben's follow up this morning reminded me that I meant to
> ask about this.
>
> Do you have evidence that a CATCH statement is slow?
> I pretty much put CATCH error handlers in ALL my
> event handlers, including those used in draw widgets
> for motion events. I have never noticed that these
> were "slow". Or, rather, I've never thought speed was
> a problem for anything I was doing with motion events.

I guess I've never really measured it. It seems the actual call to
CATCH + a test on the catch error variable take about a microsecond for
me, so really probably not a problem (i.e. it will always be a tiny part
of your motion event callback budget).

What I do always wonder is how setting up a set of nested catches bogs
down IDL, since it must always keep track of where it will jump to
when an error occurs. Probably just an over-defined sense of
optimization.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: ascii_template advanced
Next Topic: IDLVM and retall

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

Current Time: Thu Oct 09 19:55:44 PDT 2025

Total time taken to generate the page: 0.64074 seconds