L
Lilith
If I have a class object and a pointer to the object is there a
performance hit for invoking a member function using member of (.) vs
member of (->) due to pointer arithmetic? From an amateur point of
view I'd initially think that the pointer arithmetic would cause a
slow down. On the other hand pointer arithmetic shouldn't even be an
issue since the member functions aren't actually part of the object
but instead a member of the class.
Please advise.
performance hit for invoking a member function using member of (.) vs
member of (->) due to pointer arithmetic? From an amateur point of
view I'd initially think that the pointer arithmetic would cause a
slow down. On the other hand pointer arithmetic shouldn't even be an
issue since the member functions aren't actually part of the object
but instead a member of the class.
Please advise.