4 ms·
You can, but you have to guard your inlined path with a type check and fallback to the non virtual path (JITs do similar things, except that the JIT of course c
by gpderetta 4y ago
You can, but you have to guard your inlined path with a type check and fallback to the non virtual path (JITs do similar things, except that the JIT of course can dynamically decide which function to inline, while at best AOT can use PGO).
- mgraczyk 4y agoYes GCC and Clang already do this in many cases, but it's not quite the same as what the posted compiler can do.