Subject: Re: Substring? From: Erik Naggum <erik@naggum.net> Date: Wed, 15 Aug 2001 01:24:18 GMT Newsgroups: comp.lang.lisp Message-ID: <3206827457041630@naggum.net> * Kent M Pitman <pitman@world.std.com> > Then again, that might slow things down and it depends on how "tightly > coupled" this routine is with the knowledge that the consumer will be the > same old buffer every time as to whether you might omit it. It was an attempt to show how things could be used. My purpose was not to post a function that people should stuff in their private collection of code gems and hope that it would save them someday, which I think "something like this" would have indicated. I posted it as a function instead of these abominable patterns/idioms that people seem to like, but really, it was intended as nothing more than to demonstrate the use of displaced arrays and load-time-value to avoid consing up those arrays. > The code I offered probably isn't strong enough to work in a multi-tasking > application. I should learn to put in disclaimers like this, too. :) ///