3 ms·If inheritance and function calls are a bottleneck, it is probably the time to change programming language.by gpderetta 4y agoIf inheritance and function calls are a bottleneck, it is probably the time to change programming language.F-W-M 4y agoLLVM had that problem. But if you are already writing in C++, where do you switch to? (Spoiler: it's code generation).gpderetta 4y agoI can't fathom how inheritance could be the issue. Virtual inheritance maybe?