Data.Text for parsec3

Kazu Yamamoto ( 山本和彦 ) kazu at
Thu Feb 10 04:54:27 CET 2011


> I think,
>   cabal install --reinstall -O2 parsec3-
> should repair this.

I made a tiny benchmark using progression and criterion.

When I re-install parsec3 with the -O2 option, performance of the tree
becomes almost the same.

Note that the input file is ASCII. If we use a UTF-8 file, Lazy Text
becomes much slower. But this is inevitable, I guess.

If people want to compare String and Lazy Text on UTF-8, I will add
the case. If people want to campare attoparsecs also, I will add them,


More information about the Libraries mailing list