On Mon, Apr 01, 2013 at 02:29:21PM -0700, Eric S. Eberhard wrote:
[...]
> What I am saying is you might cringe at -- and instinctively hate
> (as I do) -- the idea of just reading it twice == but you might want
> to run some benchmarks and see if you really care or not.

  Those days, assuming data comes from disk (network is a completely
separate problem you can't guarantee reproduceability of reads) then
the main factor is reading the data from the disk, once it is in the
cache, the second parse is way faster if you don't wait between the two
passes.

Daniel

-- 
Daniel Veillard      | Open Source and Standards, Red Hat
[email protected]  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to