mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 14:43:38 +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
|
@ -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