
Software Optimization Guide for AMD64 Processors | 25112 Rev. 3.06 September 2005 |
2.13Use of const Type Qualifier
Optimization
For objects whose values will not be changed, use the const type qualifier.
Application
This optimization applies to:
•
•
Rationale
Using the const type qualifier makes code more robust and may enable the compiler to generate
30 | C and C++ | Chapter 2 |