[Haskell-cafe] Re: String vs ByteString

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Aug 17 06:39:02 EDT 2010


Hello Tom,

Tuesday, August 17, 2010, 2:09:09 PM, you wrote:

> In the first iteration of the Text package, UTF-16 was chosen because
> it had a nice balance of arithmetic overhead and space.  The
> arithmetic for UTF-8 started to have serious performance impacts in
> situations where the entire document was outside ASCII (i.e. a Russian
> or Arabic document), but UTF-16 was still relatively compact

i don't understand what you mean. are you support all 2^20 codepoints
in Data.Text package?



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



More information about the Haskell-Cafe mailing list