[omniORB] non-virtual destructors

Stefan Seefeld seefelds@MAGELLAN.UMontreal.CA
Thu, 16 Mar 2000 10:03:16 -0500


David Riddoch wrote:

> Okay space overhead not a huge deal (but slightly more than a couple of
> pointers, since the code to call the destructor is more complex). These
> objects are created and destroyed whenever objects are created and
> destroyed, and relative to the rest of the costs of doing this, a virtual
> destructor is not a big one.
> 
> However, I assert my right to make my code as efficient as I can, and
> making lots of things slightly more efficient helps keep the ORB as a
> whole nice and efficient.  I am not prepared to make my code less
> efficient just to placate an unnecassary compiler warning.

I agree, I'm just curious.

Stefan
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: seefelds@magellan.umontreal.ca

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...