Why virtual function is slow

Why virtual function is slow

通常,并不是虚拟调用本身很慢,而是编译器无法内联它们。

https://softwareengineering.stackexchange.com/questions/191637/in-c-why-and-how-are-virtual-functions-slower

Powered by Jekyll and Theme by solid

本站总访问量