title: Can const-correctness improve performance?
body: <p>I have read numerous times that enforcing const-correctness in your C or C++ code is not only a good practice with regards to maintainability, but also it may allow your compiler to perform optimizations. However, I have read the complete opposite, too &mdash; that it does not affect performance at all.</p>
  
  <p>Therefore, do you have examples where const correctness may aid your compiler with improving your program's performance?</p>