[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] utf8 and string-ref performance
From: |
Alan Post |
Subject: |
Re: [Chicken-users] utf8 and string-ref performance |
Date: |
Wed, 24 Nov 2010 11:33:37 -0700 |
On Wed, Nov 24, 2010 at 07:15:49PM +0100, Peter Bex wrote:
> 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?
>
Weeks ago when I posted the thread about using mmap it was because in
relationship to this problem, I'm looking for the best performance I
can get in the inner loop of my parser, where I'm matching against
the input buffer.
-Alan
--
.i ko djuno fi le do sevzi
- [Chicken-users] utf8 and string-ref performance, Alan Post, 2010/11/24
- Re: [Chicken-users] utf8 and string-ref performance, F. Wittenberger, 2010/11/24
- Re: [Chicken-users] utf8 and string-ref performance, Peter Bex, 2010/11/24
- Re: [Chicken-users] utf8 and string-ref performance, Alan Post, 2010/11/24
- Re: [Chicken-users] utf8 and string-ref performance, Felix, 2010/11/24
- Re: [Chicken-users] utf8 and string-ref performance, Peter Bex, 2010/11/24
- Re: [Chicken-users] utf8 and string-ref performance,
Alan Post <=
- Re: [Chicken-users] utf8 and string-ref performance, Felix, 2010/11/24
- Re: [Chicken-users] utf8 and string-ref performance, Peter Bex, 2010/11/25
- Re: [Chicken-users] utf8 and string-ref performance, Felix, 2010/11/25
- Re: [Chicken-users] utf8 and string-ref performance, Peter Bex, 2010/11/25
- Re: [Chicken-users] utf8 and string-ref performance, Felix, 2010/11/25
- Re: [Chicken-users] utf8 and string-ref performance, Alan Post, 2010/11/25
Re: [Chicken-users] utf8 and string-ref performance, F. Wittenberger, 2010/11/24
Re: [Chicken-users] utf8 and string-ref performance, Alex Shinn, 2010/11/24