mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 19:55:40 +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->error = query_serror;
|
||||||
ctxt->node = node;
|
ctxt->node = node;
|
||||||
registerNamespaces(ctxt);
|
registerNamespaces(ctxt);
|
||||||
|
xmlXPathContextSetCache(ctxt, 1, -1, 0);
|
||||||
|
|
||||||
if (is_xpathmode(This->node->doc))
|
if (is_xpathmode(This->node->doc))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue