[Haskell-cafe] Efficient string output

Ketil Malde ketil at malde.org
Mon Feb 9 07:46:03 EST 2009

Bulat Ziganshin <bulat.ziganshin at gmail.com> writes:

>>                     in B.concat [f1,pack "\t",pack (show f2),...]

> i'm not a BS expert but it seems that you produce Strings using show
> and then convert them to BS. of course this is inefficient - you need
> to replace show with BS analog

Do these analogous functions exist, or must I roll my own.

I've also looked a bit at Data.Binary.Builder, perhaps this is the way
to go?  Will look more closely.

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list