[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit] improved help search, was Re: [sc-dev] its time for a User library
On 5 Mar 2006, at 00:02, Scott Wilson wrote:
Something like this would be good, as it is very slow now with all
the extension directories. It might be worth doing something with
SearchKit, as that's already keeping a database.
That said, the current implementation is still searching the whole
tree for each possible extension, which needless to say, sucks.
I'll take a look at fixing it.
Okay, I've committed a new version which compares every candidate for
each possible extension. It's WAY faster. This should have been done
a long time ago.
I think there may now be an unnecessary layer of dispatch, but I'm
too tired right now to chase it through.
On 5 Mar 2006, at 00:11, Julian Rohrhuber wrote:
Maybe there should be an archive directory: /build/object_archives
The paths could be saved there into an sc archive. When a new
helpfile is not found at first, it's path could be added to the
Give the new version a try. This may not be needed.
On my machine a search on foobar trolls through and pops up main help
in a little over a second. No beachball.
I also got rid of the help.sc extension, as with Stefan's changes
this is no longer necessary.