You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cachegrind indicates that ~15-20 % of bootup time are spent in ast_xmldoc_query.
In order to do the lookups for certain options always all the loaded documentation xmls are traversed:
An alternative approach would be to store the module name inside the doc_tree on load and only query the xml documents matching the module name on query.
eg instead of:
if (!(results = ast_xmldoc_query("/docs/configInfo[@name='%s']/configFile/configObject[@name='%s']/configOption[@name='%s']", module, object_name, name))) {
do:
if (!(results = ast_xmldoc_query_module(module, "/docs/configInfo[@name='%s']/configFile/configObject[@name='%s']/configOption[@name='%s']", module, object_name, name))) {
The text was updated successfully, but these errors were encountered:
Improvement Description
cachegrind indicates that ~15-20 % of bootup time are spent in ast_xmldoc_query.
In order to do the lookups for certain options always all the loaded documentation xmls are traversed:
An alternative approach would be to store the module name inside the doc_tree on load and only query the xml documents matching the module name on query.
eg instead of:
do:
The text was updated successfully, but these errors were encountered: