mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
msxml3: Enable XPath object cache.
This gives a 30% performance increase in a local test with a very large document.
This commit is contained in:
parent
97d4c7fe3f
commit
8cb68e43de
1 changed files with 1 additions and 0 deletions
|
@ -788,6 +788,7 @@ HRESULT create_selection(xmlNodePtr node, xmlChar* query, IXMLDOMNodeList **out)
|
|||
ctxt->error = query_serror;
|
||||
ctxt->node = node;
|
||||
registerNamespaces(ctxt);
|
||||
xmlXPathContextSetCache(ctxt, 1, -1, 0);
|
||||
|
||||
if (is_xpathmode(This->node->doc))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue