News for hackers. Stuff that matters.
Re:The cost of dynamic vs. static dispatch in C++ by eliben on Thursday December 05, 2013 @11:44AM (#6855319)
That would save the indirection, but I hope the article shows that by far the biggest cost comes from the lack of inlining. The latter would not be solved by your function pointer.

There are no comments on this comment yet.