On Tue, Jul 1, 2014 at 9:40 PM, Per Bothner <[email protected]> wrote:

>
> What I'm proposing is a very simple extension that is trivial to
> implement and adds no extra overhead to strings, beyond requiring
> an indirection pointer (from the string object to a buffer so the
> latter can be re-allocated). And that indirection seems hard to
> avoid in any implementation that supports string-set! in combination
> with full 20-bit Unicode, unless you store each character in at
> least 3 bytes.  Does any implementation do that?
>

Foment uses 4 bytes to store each character in a string.
_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to