Data.Text for parsec3

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Feb 9 13:21:54 CET 2011


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.
>
> OK.
>
> 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 ?

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Libraries mailing list