• Advertisement

Archived

This topic is now archived and is closed to further replies.

virtual overhead

This topic is 5943 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement