[erlang-questions] built-in xml parser

Will <>
Thu Jun 25 20:01:03 CEST 2009


On Thu, Jun 25, 2009 at 7:50 AM, Joel Reymont <> wrote:
>
>
> Is there a chance that future versions of OTP come with a built-in XML
> parser based on a C library, just like 're'?


Have you given erlsom a try?  I spent quite a bit of time trying to make an
optimized driver for expat (using outputv, driver_output_term, driver_async,
etc) that outputs a tree of element records. Single-process performance was
about 2x that of an equivalent pure-Erlang parser using erlsom, but it was
actually slower with > 1 process.

-Will


More information about the erlang-questions mailing list