[Haskell] Current XML libraries status

Hugo Pacheco hpacheco at gmail.com
Thu Oct 23 17:38:17 EDT 2008


I remember that HaXML has also a lazy XML parser. maybe if you just need to
use some specific information stored in your XML file you can earn some
time/memory with it.From my experience, HXT seems faster.

Cheers,
hugo

2008/10/23 Krasimir Angelov <kr.angelov at gmail.com>

> Hi,
>
> Does some one have made performance tests on the different XML libraries
> for Haskell? I have a 20MB xml file that I want to read. I remember from my
> earlier experiments (years ago) that all libraries were too slow and were
> consuming too much memory. I hoped that this situation had changed but maybe
> not. I looked at HaXML, libxml, HXML and HXT. HaXML eats a lot of memory and
> is still very slow. libxml is unfinished binding to the C library. Currently
> it only allows to create documents. HXML seems to be very promising. It
> works fast and it doesn't eat memory. Unfortunately it is that it seems to
> be rather old. It uses its own Arrow and Tree libraries instead of the
> standard libraries. I have not jumped into HXT yet because it seems to be
> very large library. Could someone recomend which one is the state of the
> art?
>
> Best Regards,
>   Krasimir
>
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>
>


-- 
www.di.uminho.pt/~hpacheco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell/attachments/20081023/15af33a0/attachment.htm


More information about the Haskell mailing list