PowerAda Optimization
This chapter contains information that can help you produce Ada programs that run faster and more efficiently. It describes how to use the compiler optimization features, and how to tune your Ada programs so that they run as fast or consume as little space as possible.
Before reading this chapter, you should be familiar with the PowerPC architecture and have some knowledge of common compiler optimization techniques. You should also know the following terms from the glossary and their definitions.
- dead variable
- inline expansion
- optimized unit
- run-time checks
- subprogram
- unreachable code
- unused subprograms
After reading this chapter, you should understand the different compiler options that enable optimization. You should be able to use coding techniques and PowerAda pragmas (especially pragma INLINE) to enhance the performance and/or space usage of your programs.