Is there a performance difference (memory and speed both being considered no matter how big or small) if you do this:
ClassA a; a.functionb();
vs