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

There might be a few hundred CPU cycles saved in compilation from not having to static cast the void* pointer to the implementation class.


Haha, sure, and the other way around, time is spent constructing the compile-time type info for the pimpl class. Let's ignore both since the impact would be so small it would almost certainly be drowned out by all the random noise that happens all the time.




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

Search: