gtpa2m3sApplication Programming

Performance Considerations

TPF application and system programmers must remain aware of the need to make their programs perform efficiently. Evaluate every routine against this objective. Some compromises are to be considered, such as coding productivity, simplicity, ease of understanding and modifying--but performance must always be a primary factor.

File Access

The most productive area for improving performance is in minimizing file accesses. The main focus for this, of course, is the data structure itself and the method by which the program accesses its data. Other factors, however, are directly controlled by program design and are therefore in the hands of the individual programmer.

Note:
You can use DECBs for passing data between programs without using ECB data levels. For more information, see Data Event Control Blocks.

Coding Techniques

Other performance-oriented suggestions: