virtual overhead

Started by
0 comments, last by abdulla 22 years, 6 months ago
does anyone know how much of a relative performance hit (relative to a normal function call) a virtual call takes in VC on a WinNT 5+ platform (fully 32bit) also after the function is found on the vtable and the amiguity for a class is resolved, do you still incur the performance hit everytime you call the function?
Advertisement
quote:Original post by abdulla
does anyone know how much of a relative performance hit (relative to a normal function call) a virtual call takes in VC on a WinNT 5+ platform (fully 32bit)

One extra pointer dereference per call.

quote:
also after the function is found on the vtable and the amiguity for a class is resolved, do you still incur the performance hit everytime you call the function?

Yes.

This topic is closed to new replies.

Advertisement