1 ;;;; aimed optimization qualities
3 ;;;; This software is part of the SBCL system. See the README file for
6 ;;;; This software is derived from the CMU CL system, which was
7 ;;;; written at Carnegie Mellon University and released into the
8 ;;;; public domain. The software is in the public domain and is
9 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
10 ;;;; files for more information.
14 (define-optimization-quality type-check
15 (cond ((= safety 0) 0)
16 ;; FIXME: It is duplicated in PROBABLE-TYPE-CHECK-P and in
19 ((and (<= speed safety)
21 (<= compilation-speed safety))
24 ("no" "maybe" "fast" "full"))
26 (define-optimization-quality let-convertion
27 (if (<= debug speed) 3 0)
28 ("off" "maybe" "on" "on"))
30 (define-optimization-quality verify-arg-count
31 (if (zerop safety) 0 3)
32 ("no" "maybe" "yes" "yes"))
34 (define-optimization-quality merge-tail-calls
35 (if (or (> space debug)
39 ("no" "maybe" "yes" "yes"))