Performance of “direct” virtual call vs. interface call in C#
I think the article Drill Into .NET Framework Internals to See How the CLR Creates Runtime Objects will answer your questions. In particular, see the section *Interface Vtable Map and Interface Map-, and the following section on Virtual Dispatch. It’s probably possible for the JIT compiler to figure things out and optimize the code for … Read more