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:
Hans Leidekker 2024-02-02 09:46:56 +01:00 committed by Alexandre Julliard
parent 97d4c7fe3f
commit 8cb68e43de

View file

@ -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))
{