
9 Feb
2011
9 Feb
'11
12:34 p.m.
Am 09.02.2011 13:21, schrieb Ivan Lazar Miljenovic:
On 9 February 2011 16:58, Kazu Yamamoto
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 ?
Good question. I should mention that I've removed -O2 from parsec3.cabal. I think, cabal install --reinstall -O2 parsec3-1.0.0.3 should repair this. Christian