[Haskell-cafe] List x ByteString x Lazy Bytestring

Johan Tibell johan.tibell at gmail.com
Mon Dec 5 15:47:35 CET 2011


On Mon, Dec 5, 2011 at 6:09 AM, Yves Parès <limestrael at gmail.com> wrote:

> However the performance issues seem odd: text is based on bytestring.


This is not the case. Text is based on ByteArray#, GHC internal type for
blocks of bytes. The text package depends on the bytestring package because
it allows you to encode/decode Text<->ByteString.

-- Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111205/ad1d3619/attachment.htm>


More information about the Haskell-Cafe mailing list