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@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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell




--
www.di.uminho.pt/~hpacheco