virtual overhead
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?
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
Popular Topics
Advertisement