It doesn't matter if it's a module or a program. It's a global variable that is accessible from outside the module. The compiler has no idea which other modules you'll be linking it against, so it can't make optimizations to the variable at compile time.
Comments