0.9.3.19:
authorPaul F. Dietz <pfdietz@users.sourceforge.net>
Wed, 3 Aug 2005 01:44:41 +0000 (01:44 +0000)
committerPaul F. Dietz <pfdietz@users.sourceforge.net>
Wed, 3 Aug 2005 01:44:41 +0000 (01:44 +0000)
  The LAST source transform appears to have slowed down STRING-CONCAT,
  so change it to a call to a specialized function rather than fully
  inlining it.

src/compiler/srctran.lisp
version.lisp-expr

index 8e96110..620ab2a 100644 (file)
 
 (define-source-transform nth (n l) `(car (nthcdr ,n ,l)))
 
-;; (define-source-transform last (x) `(sb!impl::last1 ,x))
-(define-source-transform last (x)
-  `(let* ((x (the list ,x))
-          (r (cdr x)))
-     (do () ((atom r) x)
-       (shiftf x r (cdr r)))))
+(define-source-transform last (x) `(sb!impl::last1 ,x))
+;; (define-source-transform last (x)
+;;  `(let* ((x (the list ,x))
+;;          (r (cdr x)))
+;;     (do () ((atom r) x)
+;;       (shiftf x r (cdr r)))))
 
 (defvar *default-nthcdr-open-code-limit* 6)
 (defvar *extreme-nthcdr-open-code-limit* 20)
index 7bcf166..ac022b8 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.18"
+"0.9.3.19"