4 ms·
I'm not talking about the performance of the function itself, I'm talking about the overhead incurred. That can't change in C. Also, just adding a virtual dest
by groby_b 17y ago
I'm not talking about the performance of the function itself, I'm talking about the overhead incurred. That can't change in C.
Also, just adding a virtual destructor (without any functionality) adds cost. And unfortunately, you need to if your class happens to become a base class.