Tom Corcoran wrote:
As more and more searches get added I am concerned about the clutter
on my dqsd menu. When I am looking to remind myself what searched I
have forgotten about I do not want through though ones I will never
use. [Maybe memory should be a concern but since I got rid of the old
machine a few years ago I have not looked into performance gains by
disabling a bunch of the searches]
I know we can use the script generator
http://www.master-minds.net/cgi-bin/disablesearches.cgi
to disable scripts, and maybe that's enough but ideally would it not
good to have something more fluid?
Yeah there has long been a need to have some kind of mechanism of
disabling searches that arent needed.. The performance gains of not
loading 300+ searches is pretty noticeable.. My script renaming
utility was meant only as a crude workaround..
A problem exists, in that all of the searches have to be parsed
initially to be even available on the menu for enabling or disabling..
The search code doesnt have to be loaded to memory but the xml would
still have to be parsed on startup... So I guess if there was some sort
of on-the-fly enabling and disabling of searches, the startup time would
still be kind of slow.. Memory would be gained though...
Maybe there could be a built in mechanism that would allow the user to
create a snapshot of the searches which are available and unavailable
and store the data to a file that could be loaded at dqsd startup before
any search xml files are parsed. The file would control which searches
are loaded, and could contain enough information about *all* the
searches that the help menu items could still be created without parsing
all the xml files. This would speed the startup since all the searches
wouldnt have to be parsed anymore. The user would only have to go
through all the searches once to get the configuration set.
Good Idea? Bad Idea?
Monty
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601