News for hackers. Stuff that matters.
Re:Comparing C and C++ usage and performance with a real wor... by psyc on Monday September 04, 2017 @10:58AM (#15168643)
You only pay for the indirection for virtual functions. You don't pay it simply for choosing C++. There is no "much larger memory structure" either. The vtable is per class. The per object cost is one pointer. C++ compilers are pretty smart.

There are no comments on this comment yet.