Please enable JavaScript to view this site.

A-Shell 6.5 Development Notes

Compiler edit 921 optimizes the runtime code generated by trace statements of the forms:

DEBUG.PRINT <args>

TRACE.PRINT (level,tags) <args>

The optimization adds a few bytes to the RUN code for each statement, but eliminates nearly all of the overhead associated with runtime evaluation in the caes where where no DEBUG level or tags have been set, as would be typical for most production environments. Previously, the overhead, while small, was enough to become significant when such statements were embedded in code executed in tight loops. This partially undermined the advantage of being able to insert many such traces into code so that they could be activated selectively for debugging purposes.

Note while the optimization requires runtime version 6.5.1671.0+ to be effective, it will containue to run with older runtimes but without the benefit of the optimization.