From 6965451870eb2253e843f95e2ea386b914a9eb18 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Sun, 21 Aug 2011 07:43:39 +0000
Subject: [PATCH] Reduce consing of SAPs in ROOM.

Patch from Helmut Eller, cmucl-imp 2011-08-11.
---
 code/room.lisp               | 4 ++--
 general-info/release-20c.txt | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/code/room.lisp b/code/room.lisp
index 16b4a2c9d..43971a7d7 100644
--- a/code/room.lisp
+++ b/code/room.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/room.lisp,v 1.40 2010/04/20 17:57:45 rtoy Rel $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/room.lisp,v 1.41 2011/08/21 07:43:38 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -368,7 +368,7 @@
 			 (fixnum (sap+ current size))
 			 (memory-size (sap+ current size)))))
 		(setf current c))))
-	 (declare (inline next))
+	 (declare (inline next maybe-finish-mapping))
 	 (loop
 	    (maybe-finish-mapping)
 	    (maybe-skip-page)
diff --git a/general-info/release-20c.txt b/general-info/release-20c.txt
index 75a8bbe60..b76f9b36d 100644
--- a/general-info/release-20c.txt
+++ b/general-info/release-20c.txt
@@ -136,6 +136,7 @@ New in this release:
     - Getting documentation of a structure via DOCUMENTATION no longer
       signals an error in DGETTEXT trying to translate the null
       documentation string.
+    - Reduce unnecessary consing of SAPs in ROOM.
 
 
   * Trac Tickets:
-- 
GitLab