[Haskell-cafe] Text.JSON, Speed and Bytestrings

Don Stewart dons at galois.com
Sat Jul 11 18:24:34 EDT 2009


mxcantor:
> Hi Cafe,
>
> I am using the Text.JSON library to [un]marshall messages passed over  
> the network and was wondering if the speed would be significantly  
> improved by either changing the code or adding a module to implement the 
> same functionality using Bytestrings instead of classical strings?  If 
> the consensus is that it would be worth it, I'll look into adding that 
> code..
>

I think porting the parsec-based JSON parser in the json package
to attoparsec + bytestrings would be easy and useful.

-- Don


More information about the Haskell-Cafe mailing list