Manu wrote:
Whole program optimisation can't do anything to improve the situation; it is possible that DLL's may be loaded at runtime, so there's nothing the
optimiser can do, even at link time.

Not really true. If you know the instance type then you can inline.

It is only when you call through the super class of the instance that you have to explicitly call a function through a pointer.

With a compiler switch or pragmas that tell the compiler what can be dynamically subclassed the compiler can assume all leaves in the compile time specialization hierarchies to be final.

Reply via email to