On Mon, May 28, 2001 at 11:20:09PM +0200, Martin Atzmueller wrote:
> Attached is a patch ported from CMUCL, that allows SBCL to inline
> type-tests not only for structures, but also for other classes.
> I had some difficulties in getting this to work in SBCL-0.6.12.07 but as
> it turned out, these were other problems ...
> Anyway, here is the summary of what the patch does:
I've merged the patch into sbcl-0.6.12.33. There's one bit I'm
confused by, however.
@@ -1130,7 +1257,7 @@
;;; is loaded and the class defined.
(/show0 "about to define temporary STANDARD-CLASSes")
- (dolist (x '((fundamental-stream (t instance stream))))
+ (dolist (x '((fundamental-stream (t instance stream stream))))
(/show0 "defining temporary STANDARD-CLASS")
(let* ((name (first x))
(inherits-list (second x))
Could you explain what you're doing here? I'm guessing you might be
preallocating just enough space in a table later used by the final
definition of FUNDAMENTAL-STREAM. Perhaps the space is later used by
Gray stream stuff? Anyway, it looks sufficiently devious that I think
an explanatory comment would be in order.
William Harold Newman <william.newman@...>
pending patches from sbcl-devel:
MNA tests/interface.pure.lisp patch (2001-06-12)
PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C