[slime-devel] simple-base-string declarations

Helmut Eller e9626484 at stud3.tuwien.ac.at
Tue Aug 31 20:37:22 UTC 2004


Christophe Rhodes <csr21 at cam.ac.uk> writes:

> Hi,
>
> In a number of places in swank.lisp various strings are declared as
> SIMPLE-BASE-STRING.  Is there a reason for this declaration -- in
> particular, is it expected that these strings will be specialized to
> hold only BASE-CHAR?  Or are they in fact general strings?  (at least
> the version in BRIEFLY-DESCRIBE-SYMBOL-FOR-EMACS leads me to suspect
> that they are fairly general strings).

They are general strings.  I think the primary reason for the
declarations was to keep SBCL a bit quiet.

> If I'm right, could the declaration be changed to reflect this, maybe
> to SIMPLE-STRING (or even STRING, if they're not in
> performance-critical areas)?

Yes, of course.  I'm also happy if the declarations
are removed altogether :-)

Helmut.




More information about the slime-devel mailing list