3 ms·
There might be a few hundred CPU cycles saved in compilation from not having to static cast the void* pointer to the implementation class.
by chippiewill 5y ago
There might be a few hundred CPU cycles saved in compilation from not having to static cast the void* pointer to the implementation class.
- hvdijk 5y agoHaha, 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.