Miscellaneous

Here are a number of points not covered elsewhere. The first two may make considerable difference in performance depending on the particular code section, the remainder are unlikely to have more than slight effect but are good programming practise.

Cosmetic Performance

In an interactive application, the user is more concerned with the perceived performance seen on the terminal rather than the actual performance of the system. While something is changing on the terminal screen, the system is perceived to be doing something, although what is being seen may just be buffered output with the system actually idle for this user.