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 mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
