[Haskell-cafe] Slow Text.JSON parser
Sigbjorn Finne
sigbjorn.finne at gmail.com
Sun Jan 18 00:07:12 EST 2009
Maybe. Handling the common cases reasonably well is
probably worth doing first (+profiling) before opting for
a heart&lung transplant..
To wit, I've trivially improved the handling of string and
integer lits in version 0.4.3 (just released.) It cuts down
the running times by a factor of 2-3 on larger inputs --
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/json
Not saying that there aren't additional wins to be had :)
hth
--sigbjorn
On 1/17/2009 14:50, Don Stewart wrote:
> It occurs to me you could also use attoparsec, which is specifically
> optimised for bytestring processing.
>
>
More information about the Haskell-Cafe
mailing list