On 7/18/06, Raymond Toy <raymond.toy at ericsson.com> wrote:
> If describe were faster, say, by replacing nregex with cl-ppcre, would
> that be acceptable?
Well, aside from speeding up searches, I also want to construct an
index to make different kinds of searches easier. Even if cl-ppcre is
lots faster for the particular searches executed in cl-info.lisp
(which is unknown at present), it doesn't address the indexing stuff.
> Have you investigated why it is so slow?
Probably it has a lot to do with the particular regexes -- subtle variations
can lead to substantially different run times.
I'm not too interested to sort it all out because I want to have an index
on which different kinds of searches are possible.
Another substantial motivation is that cl-info.lisp is really much more
complicated than it needs to be because of the regex searching.
I am pretty sure that replacing the regex stuff with an index system
is going to be easier to understand.
Robert