| United States-English |
|
|
|
![]() |
Fortran 90, Fortran 77, C, aC++: Exemplar Programming GuideChapter 8 Programming conventions for optimal code |
|
Table of Contents This chapter discusses coding tips and common optimization problems you may encounter when developing programs for SMP servers and presents some possible solutions. Optimization can remove instructions, replace them, and change the order in which they execute. In some cases, improper optimizations can cause unexpected or incorrect results or code that slows down at higher optimization levels. In some cases, user error can cause similar problems in code that contains syntactically-correct constructs or directives that are used improperly. If you encounter any of these problems, look for the following possible causes:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||