Of course, nobody will use virtual functions anymore. They will use old good
function pointers and call tables, like they did since old times. Never mind
it's the same thing.
"Cezary H. Noweta" <chncc@noemail.noemail> wrote in message
Hello,
Alexander Grigoriev wrote:
That paper analysed performance hit for a simulated PPro.
Things changed a little bit since 1995 (when that paper was written).
I'm not sure PPro even had u-op cache.
Please, do not continue this. Somebody could prove that direct calls
through registers/memory are faster or slightly slower (if at all) then
indirect addressing. Let's throw away CPU's time. It is time consuming
while in reverse engineering. Once upon a time five seconds at the output
of dumpbin were enough to have full sources in mind. Today understanding
of small piece of code takes days or weeks due to virtuals. So I fully
agree with Alan Carre. Do not use "virtual" in your code. It introduces
pipeline stall, CPU overheat, and a nuclear launch. Somebody could mention
virtual inheritance. Did I say "virtual inheritance"? Forget! ;-D
-- best regards
Cezary Noweta