[Haskell-cafe] Slow Text.JSON parser

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue Jan 13 23:32:04 EST 2009


On 2009 Jan 13, at 22:43, Brandon S. Allbery KF8NH wrote:
> On 2009 Jan 13, at 18:54, Sjoerd Visscher wrote:
>> It is not impossible, but a lot of work. And if you want to do it  
>> correctly you would have to support UTF-16 (BE of LE) and UTF-32  
>> (BE of LE) as well. You can't expect someone to start writing utf  
>> encoders and decoders every time he needs a fast parser.
>
> ...whereas making a linked list of Word32 run quickly is trivial?

Correction:  a linked list of *indirect* Word32s.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090113/3c62093d/attachment.htm


More information about the Haskell-Cafe mailing list