[Haskell-cafe] Re: String vs ByteString

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Aug 17 04:34:46 EDT 2010

Hello Johan,

Tuesday, August 17, 2010, 12:20:37 PM, you wrote:

>  I agree, Data.Text is great.  Unfortunately, its internal use of UTF-16
>  makes it inefficient for many purposes.

> It's not clear to me that using UTF-16 internally does make
> Data.Text noticeably slower.

not slower but require 2x more memory. speed is the same since
Unicode contains 2^20 codepoints

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list