[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] its time for a User library



On 28 Feb 2006, at 18:18, crucial felix wrote:


 same thing for help libs, instr etc.

i would just be concerned with having a very large list of paths that Help and Instr must search through. Help especially should load all the paths when it *initClass, then lookup is fast after that. I hate that rolling ball while it searches. If I add a new file (rare) then I just hit recompile.
 downside : slower startup time
 it could do it on the first usage of Help / Instr. etc.

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.

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 archive automatically.

Also Document object data could be saved there to recover action functions after recompile.
--





.