From: Peter Bex <[email protected]> Subject: Re: [Chicken-users] utf8 and string-ref performance Date: Thu, 25 Nov 2010 09:08:28 +0100
> On Thu, Nov 25, 2010 at 02:50:23AM +0100, Felix wrote: >> > 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). > > So that means the locative will stay around while the string itself > might have been collected? If it's a weak locative, yes. But dereferencing will signal an error in this case. But I thought this is about being able to point into a string? I'm probably confused or didn't fully understand the original problem. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
