[Haskell-cafe] Haskell XML Parsers

Gregory Collins greg at gregorycollins.net
Wed May 5 19:48:57 EDT 2010


R Senington <sc06r2s at leeds.ac.uk> writes:

> Dear all,
>
> I have been looking at using XML for a little program I have been writing. The
> file I am currently trying to load is about 9MB, and I have now tried to use
> HaXml and HST. Without any of my own code, just a simple call to the basic
> parsers, they both use huge amount of memory.
> HST is the worst and about 7GB and climbing. HaXml uses 1.3Gb.

If your needs are reasonably basic, you could consider trying:

  http://hackage.haskell.org/package/hexpat

which is an FFI binding to expat.

G
-- 
Gregory Collins <greg at gregorycollins.net>


More information about the Haskell-Cafe mailing list