I tried this with a 10 MB file:

   *doc = xmlReadFile(ucFilename, NULL, XML_PARSE_COMPACT | XML_PARSE_NOBLANKS);

Without xmlParseFile : over 10 minutes
With Xml ReadFile : Over 6 minutes

This is an enhancement but not acceptable either.
babak

-----Ursprüngliche Nachricht-----
Von: Stefan Behnel [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 14. August 2007 09:19
An: Shirazi Babak
Cc: [email protected]
Betreff: Re: AW: AW: [xml] Performance xmlXPathEvalExpression



Shirazi Babak wrote:
> I use xmlParseFile.

Well, then read my mail and the parser docs, and then switch to xmlReadFile().

Stefan

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to