On Feb 1, 2013 1:15 PM, "Oliver Charles" <ollie@ocharles.org.uk> wrote:
>
> Urgh, the formatting got totally destroyed in sending, I think. If so, here's a paste of my email as I intended it to be sent:
>
> http://hpaste.org/81648
>
> Sorry about that!
> - Ocharles
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
If I make a special case for text based UUIDs in aeson:
data Value = ... | UUID Text | ...
Data.Aeson.Encode.fromValue (UUID s) = singleton '"' <> fromText s <> singleton '"'
Then encoding time improves by 20%.
So a big part of the time is spent encoding the UUID strings.
Bas