Does the usage of interfaces slow down programs?

Posted by Olga on Stack Overflow See other posts from Stack Overflow or by Olga
Published on 2010-04-26T14:15:33Z Indexed on 2010/04/26 14:23 UTC
Read the original article Hit count: 237

Filed under:
|

Is it true that interfaces slow down programs? I have heard that this is the case because during running time each during each usage of an object implementing this interface the decision has to be made which class implementing the interface this object belongs to.

I am especially interested in an answer for C++, but also in general. And if this is true, some numbers would be helpful, too.

Thank you very much!

© Stack Overflow or respective owner

Related posts about c++

Related posts about interface