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

Home » Public Forums » archive » Important object lesson
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: Important object lesson [message #12166 is a reply to message #12110] Mon, 29 June 1998 00:00 Go to previous message
Phillip & Suzanne is currently offline  Phillip & Suzanne
Messages: 31
Registered: June 1998
Member
It appears that you're right, David. I do have a rather involved path. At
home, where I only have a simple path, the speedup is only 4,000 times instead
of 200,000 times. I don't mind that IDL follows its rules for locating the
routine anywhere along the path. However, once IDL determines that the
routine cannot be found, wouldn't it make more sense to compile a "dummy"
empty routine than to continue searching for each new object of the same type defined?

Since RSI didn't want to implement this that way, I still hold that the
solution is to ALWAYS define your INIT (constructor in C++ terminology --
sorry!) and CLEANUP (destructor) functions in IDL. This avoids the problem of
writing code for users with involved paths who don't know it.

Phillip
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Transparent surfaces?
Next Topic: Re: Determining machine endian-ness

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

Current Time: Sat Oct 11 12:55:07 PDT 2025

Total time taken to generate the page: 1.44240 seconds