Next Previous Up Top Contents Index

8 Dispatch Optimization Coloring in the Editor

8.2 Optimization coloring

When you compile a project, the Functional Developer compiler records the kinds of optimizations it performed for each source code file in the project. It also records cases where compile-time optimization was for one reason or another not possible.

The Functional Developer editor provides a way to see this information, by choosing View > Color Dispatch Optimizations. This command colors a source code file so that you can see where the compiler managed to optimize method dispatch, and also places where you may be able to make changes that will make dispatch optimizations possible next time you compile the project.

For instance, you will see a generic function call colored in blue where the compiler worked out the exact method to call and emitted a direct call to that method in the compiled code. Table 8.1 contains a full list of colors and their meanings.

8.2.1 - Editing colored source code
8.2.2 - Effect of compilation mode on dispatch optimizations
8.2.3 - Dispatch optimization colors and their meanings

Getting Started with Functional Developer - 31 MAR 2000

Next Previous Up Top Contents Index