Compiler Policy - SBCL 1.0.31 User Manual
Description: SBCL 1.0.31 User Manual

Next: Compiler Errors, Previous: Handling of Types, Up: Compiler

### 4.3 Compiler Policy

Compiler policy is controlled by the `optimize` declaration, supporting all ANSI optimization qualities (`debug`, `safety`, `space`, and `speed`).1

For effects of various optimization qualities on type-safety and debuggability see Declarations as Assertions and Debugger Policy Control.

Ordinarily, when the `speed` quality is high, the compiler emits notes to notify the programmer about its inability to apply various optimizations. For selective muffling of these notes See Controlling Verbosity.

The value of `space` mostly influences the compiler's decision whether to inline operations, which tend to increase the size of programs. Use the value `0` with caution, since it can cause the compiler to inline operations so indiscriminately that the net effect is to slow the program by causing cache misses or even swapping.

#### Footnotes

[1] A deprecated extension `sb-ext:inhibit-warnings` is still supported, but liable to go away at any time.