[Haskell-cafe] Efficient string output
Bulat Ziganshin
bulat.ziganshin at gmail.com
Mon Feb 9 07:21:12 EST 2009
Hello Ketil,
Monday, February 9, 2009, 2:49:05 PM, you wrote:
> in B.concat [f1,pack "\t",pack (show f2),...]
> inelegance were it only fast - but this ends up taking the better part
> of the execution time.
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
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list