Boost logo

Boost Users :

From: Tomas Puverle (Tomas.Puverle_at_[hidden])
Date: 2006-04-18 10:49:30


> > ... Libxml2 is generaly faster than
> > expat.
>
> Is your assessment based on experience? Just curious. I have used expat for
> several years and I would be really interested if libxml2 can do the job
> faster.

Yes, we test and run a lot of benchmarks on a lot of different XML parsers
(including some not generally available). Libxml used to be a touch slower
than expat but libxml2 is faster in both the SAX2 mode and when used as a pull
parser.
Also, there are some new interfaces in libxml2 that allow you to minimize the
amount of string copying and allocation, which futher enhances its advantage.

Tom


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net