I’m thinking about optimization, and I began wondering if there is a cost to importing namespaces.
For example, if I have a namespace called ‘Enemy’ and a class inside that namespace, say ‘Goomba’, are there any benefits/consequences to using one of the following over the other as far as performance or file size is concerned?
using Enemy;
Goomba goomba;
Start(){
goomba = new Goomba();
}
Goomba goomba;
Start(){
goomba = new Enemy.Goomba()
}