Data.Text for parsec3
Christian.Maeder at dfki.de
Wed Feb 9 13:34:02 CET 2011
Am 09.02.2011 13:21, schrieb Ivan Lazar Miljenovic:
> On 9 February 2011 16:58, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
>>>> No. What kind of benchmark is appealing? Comparing it with ByteString?
>>> I think comparing it to String would be a better choice; at the very
>>> least the Text version should be no worse than String.
>> I wrote a parser to extract word of a pattern and parsed an ASCII file
>> of about 6 Mbytes(concatenated *.texi files of Emacs). I measured
>> performance with the time command. The compiler is GHC 6.12.3 with -O.
> How about with -O2 ?
Good question. I should mention that I've removed -O2 from parsec3.cabal.
cabal install --reinstall -O2 parsec3-22.214.171.124
should repair this.
More information about the Libraries