unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: guile-devel <guile-devel@gnu.org>
Subject: rfi: immutable strings
Date: Fri, 07 Jan 2011 08:57:55 -0800	[thread overview]
Message-ID: <m3mxncd52k.fsf@unquote.localdomain> (raw)

Hello,

Guile needs immutable strings.  String literals should be immutable, so
that its characters can come directly from objcode.  Also, the result of
(symbol->string 'foo) should be immutable; currently symbol->string
conses up a new shared substring every time.

In practice this means a flag on the stringbuf.

Takers? :)

Andy
-- 
http://wingolog.org/



             reply	other threads:[~2011-01-07 16:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 16:57 Andy Wingo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-01-07 18:52 rfi: immutable strings Mike Gran
2011-01-08 21:57 ` Ludovic Courtès
2011-01-27 16:31 ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3mxncd52k.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).