template classes faster than derived classes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Are template classes faster than using a virtual derived class via a
pointer to its base class?

Intuition tells me it should be faster, and reasonably significantly so.
However I put together the following test:

http://linuxjunk.blogspot.com/2009/11/are-templates-faster-than-subclasses.html

Which suggests to me that there isn't really a lot in it.

I'd welcome any comments on this.

Nav

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux