virtual method pointer

jerro a at a.com
Fri May 4 03:02:42 PDT 2012


On Friday, 4 May 2012 at 09:51:51 UTC, Gor Gyolchanyan wrote:
> Does this have an overhead over calling virtual method directly?

If you call the function directly, it probably gets inlined.
If you call it through a function pointer, it does have some
overhead over calling the virtual method directly.


More information about the Digitalmars-d mailing list