ILE C/C++ Programmer's Guide


Minimizing Use of Virtual Functions


C++ language only
There is a performance impact if you use virtual functions because virtual functions are compiled to be indirect calls, which are slower than direct calls. You may be able to minimize this performance impact depending on your program design by using a minimum number of parameters on the virtual functions.


[ Top of Page | Previous Page | Next Page | Table of Contents ]