Reading about virtual functions, I have come across the following concept: "C++ non virtual function calls are resolved at compile time with static binding, while virtual function calls are resolved at runtime with dynamic binding."
My questions are: 1)Would it have a large effect on performance then, if we had a large number of virtual function calls in our program, since they are evaluated at runtime? Or is it not that relevant in modern machines?
2)Is that number dependent on the stack?