Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: