Taking the performance into consideration, the use of large, complex S procedures is often judged to be less than optimal. The following chapter should provide the programmer of S procedures a few helpful tips and hints for writing fast S procedures. Since the solutions to problems are often implemented in S procedures is different manners, the following tips and hints show the recommended syntax (higher performance) and a less recommended syntax for comparison purposes. The optimization capabilities are shown for the following subjects:
SDF syntax analysis
Use of variables
Procedure calls
Searching for strings in a list
Use of comments
Program calls in the procedure
All optimization capabilities are presented again at the end of the chapter using a sample procedure.