From: Peter Bex <[email protected]>
Subject: Re: [Chicken-users] utf8 and string-ref performance
Date: Wed, 24 Nov 2010 19:15:49 +0100

> 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?
> 

Sorry, I don't understand? They are not invalidated by GC (in case
you mean that).


cheers,
felix

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to