Re:Operation Costs in CPU Clock Cycles
by brigade on Friday November 11, 2016 @05:14PM
(#12934973)
Even then, the article and co-commentators exaggerate the cost and factors you should worry about for virtual calls. Unless you're optimizing specifically for an in-order CPU, the only cost of virtual functions that really matters in the general/high level case is not being able to inline them.
[ Parent
| on HN ]
There are no comments on this comment yet.