Closed dwatteau closed 2 years ago
Some useless virtual found with the new SizeBench tool from Microsoft.
virtual
They're "wasteful" in that they are functions with zero or a single override, so we can avoid the cost of virtual.
override
(Ideally) needs various compiler tests, file size and speed comparisons, and analysis, in order to avoid any possible regression.
Can't see any regression.
Binaries are a tiny bit smaller; speed appears to be the same.
Let's go for it.
Some useless
virtual
found with the new SizeBench tool from Microsoft.They're "wasteful" in that they are functions with zero or a single
override
, so we can avoid the cost ofvirtual
.(Ideally) needs various compiler tests, file size and speed comparisons, and analysis, in order to avoid any possible regression.