chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] utf8 and string-ref performance


From: Peter Bex
Subject: Re: [Chicken-users] utf8 and string-ref performance
Date: Wed, 24 Nov 2010 19:15:49 +0100
User-agent: Mutt/1.4.2.3i

On Wed, Nov 24, 2010 at 07:13:10PM +0100, Felix wrote:
> > With cons cells you should be able to implement this efficiently enough.
> > We don't have anything like string-pointers which can store arbitrary
> > indices in a string AFAIK.  That would be useful to have, I guess.
> 
> How should that look? Would locatives be useful here?

I'm afraid this is just the "shared substring/blob" structure proposal
in another guise.  I don't know if locatives are useful; those can't
really be kept around for a long time, can they?

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

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