[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rfi: immutable strings
From: |
Andy Wingo |
Subject: |
rfi: immutable strings |
Date: |
Fri, 07 Jan 2011 08:57:55 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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/
- rfi: immutable strings,
Andy Wingo <=