Text.JSON, Speed and Bytestrings

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.. Thanks, Max

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
participants (2)
-
Don Stewart
-
Max Cantor