A
Aguilar, James
I've heard that virtual functions are relatively ineffecient, especially
virtual functions that are small but get called very frequently. Could
someone describe for me the process by which the address of a virtual
function is resolved and what the hidden costs associated with virtual
functions are? I've heard the same of typeof (that it is inefficient if
used in high traffic code) -- if you've the time, could you explain how
typeof works (inside the computer) and why it costs so much?
virtual functions that are small but get called very frequently. Could
someone describe for me the process by which the address of a virtual
function is resolved and what the hidden costs associated with virtual
functions are? I've heard the same of typeof (that it is inefficient if
used in high traffic code) -- if you've the time, could you explain how
typeof works (inside the computer) and why it costs so much?