Skip to main content
gamedev.net
🔒 Locked

function.member or function->member?

Started by mcfly 0 replies 700+ views
Original Post
mcfly
mcfly
Are there any difference in speed between using a pointer or a reference when calling a member function? /mcfly
Wilka
Wilka
Nope.

There might be some special cases when one is faster than the other, but I can''t think of any.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.