[Haskell-cafe] Combining wl-pprint and ByteString?

Max Bolingbroke batterseapower at hotmail.com
Tue Nov 9 05:36:03 EST 2010


On 9 November 2010 08:01, Mark Spezzano <mark.spezzano at chariot.net.au> wrote:
> I want to be able to run it from the command line in a terminal window, and have the text come up in colours (but very fast). My current version is already very fast, but I've heard everyone raving about how slow Strings were to use for I/O, so I wanted to _experiment_ with ByteStrings to see the performance difference.

I very much doubt that you will see a difference in performance
between String and Text for the amounts of data that you can fit on a
terminal window.

Cheers,
Max


More information about the Haskell-Cafe mailing list