Duncan Coutts <[email protected]> writes:

> Have you considered using Data.Binary to output the data too? It has a
> pretty efficient underlying monoid for accumulating output data in a
> buffer. You'd want some wrapper functions over the top to make it a bit
> nicer for your use case, but it should work and should be quick.

I've used Data.Binary.Builder to generate the output, which is quite
nice as an interface.  Currently, I've managed to shave off a few
percent off the time - nothing radical yet, but there's a lot of room
for tuning various convenience functions in there.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to