0.9.3.52:
authorNathan Froyd <froydnj@cs.rice.edu>
Mon, 15 Aug 2005 17:44:49 +0000 (17:44 +0000)
committerNathan Froyd <froydnj@cs.rice.edu>
Mon, 15 Aug 2005 17:44:49 +0000 (17:44 +0000)
        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.

make-target-2.sh
src/compiler/srctran.lisp
version.lisp-expr

index 19baf68..0155ac7 100644 (file)
@@ -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.
index 69bc5e1..f5e4293 100644 (file)
       (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)
index d6e582c..11cdec7 100644 (file)
@@ -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"