Checking if a pointer is NULL like this, is this fast? If it is done every frame, many times….
void SomeFunction(MyClass* myClass)
//Check to see if the pointer is NULL. If so, do nothing
//Is this fast enough to do often or is heavy on performance?
if(myClass == NULL)
//If not NULL, do something
also, is there a difference between the top one these other two ways to do it? Which one of the three is best?