[xml] XPath versus node walking performance.
- From: Jose Commins <axora myrealbox com>
 
- To: xml gnome org
 
- Subject: [xml] XPath versus node walking performance.
 
- Date: Wed, 10 Nov 2004 19:09:56 +0000
 
	I've been looking into using XPath rather than walking nodes - does 
anyone have any experience in the performance differences between these 
two methods?  I spotted in the API for xPath 'xmlXPathCtxtCompile' 
which suggests possible hashing of the terms/tree.
	Does 'xmlReadMemory' hash the XML file as it parses it?  I am 
wondering, if on large documents, xPath may be more efficient if it 
uses hashing.  Any input would be welcome!
Regards,
                Jose.
--
Experience, n.: Something you don't get until just after you need it. 
-- Olivier
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]