[Haskell-cafe] HXT is slow?

Stephen Tetley stephen.tetley at gmail.com
Wed Jan 12 09:27:47 CET 2011


On 12 January 2011 06:57, Patrick Hurst <phurst at mit.edu> wrote:
> Is it just me, or is HXT slow? I noticed that both reading a document
> from a file, as well as running computations, are exceedingly slow,
> with simple stuff like 'get the contents of everything with a given
> class' taking .3 seconds for a 400KB HTML file in Python using lxml
> and 2 seconds using HXT with tagSoup and compiled with -O2.

A minor note - but isn't lxml mostly C rather than than Python? Is HXT
slower than other native Haskell solutions?



More information about the Haskell-Cafe mailing list