cl-info revision



>>>>> "Robert" == Robert Dodier <robert.dodier at gmail.com> writes:

    Robert> 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?

    Robert> Well, aside from speeding up searches, I also want to construct an
    Robert> index to make different kinds of searches easier. Even if cl-ppcre is
    Robert> lots faster for the particular searches executed in cl-info.lisp
    Robert> (which is unknown at present), it doesn't address the indexing stuff.

    >> Have you investigated why it is so slow?

    Robert> Probably it has a lot to do with the particular regexes -- subtle variations
    Robert> can lead to substantially different run times.
    Robert> I'm not too interested to sort it all out because I want to have an index
    Robert> on which different kinds of searches are possible.

Ok.  I won't do anything about it then.  But FWIW, it now takes 1 sec
on a 1 GHz sparc, so that's 3 times slower than it used to be.
Bummer.  3 sec is a bit too slow.  Don't know why your machine appears
to be much slower than mine.

    Robert> Another substantial motivation is that cl-info.lisp is really much more
    Robert> complicated than it needs to be because of the regex searching.
    Robert> I am pretty sure that replacing the regex stuff with an index system
    Robert> is going to be easier to understand.

Will the index system allow you to ask for things like I can ask
describe("jacob") and get useful information?  I would certainly miss
such a feature.

Ray