阅读背景:

编译器是否优化对常量变量的引用?

来源:互联网 

When it comes to the C and C++ languages, does the compiler optimize references to constant variables so that the program automatically knows what values are being referred to, instead of having to peek at the memory locations of the constant variables? When it comes to arrays, does it depend on whether the index value to point at in the array is a constant at compile time?When it comes to the C and C++ languages, does




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: