Performance questions

Guess I'm to lazy to conduct as series of tests myself so I just ask here
1) Does namespacing impact anything on performance. Like doing MyNS::Function1(i).
2) Say I have a class with some structs in it. Does this take any performance hit: oImage.oPos.x = 1. How much performance gain do I get if I create a pointer to oImage.oPos and then use that for my x and y values (or in other cases more subvalues depending on which struct). I hope it doesn't have to query the stack for each dot (.) I have...
3) Which is the fastest? Doing a switch statement or doing "else if":s? Guess switch is the fastest...
Thanks!

1) Does namespacing impact anything on performance. Like doing MyNS::Function1(i).
2) Say I have a class with some structs in it. Does this take any performance hit: oImage.oPos.x = 1. How much performance gain do I get if I create a pointer to oImage.oPos and then use that for my x and y values (or in other cases more subvalues depending on which struct). I hope it doesn't have to query the stack for each dot (.) I have...
3) Which is the fastest? Doing a switch statement or doing "else if":s? Guess switch is the fastest...
Thanks!