Commit 8cb68e43 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msxml3: Enable XPath object cache.

This gives a 30% performance increase in a local test with a very large document.
parent 97d4c7fe
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment