Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42225

SelectSingleNode or Iteration - which one is more efficient

$
0
0
I have decided to use the SelectSingleNode rather than the Iteration to process an Xml file of a few thousand nodes. My hope was that the process is going to be quicker. So far I don't see any difference. In fact, the iteration is a little faster. I tested with up to 500 nodes. Is this normal? Does selecting target nodes directly improve the process time? Does it also iterate through the nodes to locate a target? Can someone explain this for me. I am a little disappointed. Thanks

Viewing all articles
Browse latest Browse all 42225


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>