[Top][All Lists]   Re: Worrying development  From: Tom Lord
Subject: Re: Worrying development Date: Fri, 23 Jan 2004
14:18:25 -0800 (PST)      > From: Marius Vollmer
<address@hidden>     > Tom Lord <address@hidden> writes:     > >
Mutation-sharing shared substrings are an upwards compatible
extension     > > to the Scheme standard.  They break no correct
programs.  They enable     > > new kinds of programs.      > I'd
say that the real 'trouble' is that strings are mutable at     >
all.  Worried mostly about variable-length character encodings
in string? Or you'd just rather be programming in an ML-family
language? :-)  If it's variable-length encodings that irk you:
if strings were read-only you'd want to optimize the heck out of
STRING-APPEND and SUBSTRING and, once you did that, you'd have
essentially enough machinery to do mutations efficiently.      >
Also, I still like the idea of using mutation-sharing substrings
as     > markers that allow O(1) access into variable-width
encoded strings.  Interesting