Code Optimization

A number of techniques, unique to PSL, have a significant impact on the run-time performance of a program. The following coding techniques will improve run time.

For additional details concerning code optimization, refer to the following sections:

#IF/#ELSE and Literal Scope Variables

#OPTIMIZE Compiler Command

Coding in Blocks

Passing Values Instead of Objects

Refer to the Intrinsic M Functions section for information regarding the use of PSL functions instead of intrinsic M functions.