3 Optimizing Lisp Programs

3.4 Using optimized constructs

The Compiler automatically optimizes certain constructs in the source code to increase the efficiency of the compiled code. You can improve the performance of your code by knowing what these constructs are and by using them when possible. While these optimizations preserve Common Lisp semantics, they can also cause the execution of the compiled program to differ from that of the interpreted program.

This section describes these optimized constructs, as well as the differences they can cause between the source code and the compiled code.

3.4.1 - Tail call optimization
3.4.2 - Macro expansion
3.4.3 - Constant folding
3.4.4 - CASE macro optimization

The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker