From: Nathan Froyd Date: Mon, 15 Aug 2005 17:44:49 +0000 (+0000) Subject: 0.9.3.52: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=1b775f07606e4ea946b07794ed60469f45f2f417;p=sbcl.git 0.9.3.52: Reduce core file size by 600k+: * Disable FORMAT-with-constant-format-string transform in the cross compiler--eliminates many large LAMBDAs from the core; * Remove call to PURIFY at the beginning of warm init so that cold-init-only stuff doesn't get moved to read-only space before it is uninterned and (not) garbage collected. --- diff --git a/make-target-2.sh b/make-target-2.sh index 19baf68..0155ac7 100644 --- a/make-target-2.sh +++ b/make-target-2.sh @@ -34,7 +34,6 @@ echo //doing warm init ;; Now that we use the compiler for macros, interpreted ;; /SHOW doesn't work until later in init. #+sb-show (print "/hello, world!") - (sb!ext:purify) ;; Until PRINT-OBJECT and other machinery is set up, ;; we want limits on printing to avoid infinite output. diff --git a/src/compiler/srctran.lisp b/src/compiler/srctran.lisp index 69bc5e1..f5e4293 100644 --- a/src/compiler/srctran.lisp +++ b/src/compiler/srctran.lisp @@ -3657,6 +3657,10 @@ (when (stringp x) (check-format-args x args 'format))))) +;;; We disable this transform in the cross-compiler to save memory in +;;; the target image; most of the uses of FORMAT in the compiler are for +;;; error messages, and those don't need to be particularly fast. +#+sb-xc (deftransform format ((dest control &rest args) (t simple-string &rest t) * :policy (> speed space)) (unless (constant-lvar-p control) diff --git a/version.lisp-expr b/version.lisp-expr index d6e582c..11cdec7 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.9.3.51" +"0.9.3.52"