guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libguile/print.c fixes


From: Paul Jarc
Subject: Re: libguile/print.c fixes
Date: Tue, 06 May 2003 10:51:29 -0400
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Rob Browning <address@hidden> wrote:
> address@hidden (Paul Jarc) writes:
>> Symbol names containing \ don't strictly need to be printed in
>> #{this}# style, but it would significantly simplify the code if they
>> were.  Any objections?
>
> Not sure.  It's nice to avoid the escaping when you don't need it, but
> I'm not sure how much complexity that introduces.

I guess it's not that complex, although it does introduce a
performance hit for certain long symbol names, since part of the
string is re-scanned.  This patch fixes the bugs with symbol names,
but leaves backslash handling the way it is.
        * print.c (scm_print_symbol_name): Bug fixes and comments.


paul

Attachment: guile.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]