>>>>> "Ketil" == Ketil Malde <[email protected]> writes:

    Ketil> Johan Tibell <[email protected]> writes:
    >> It's not clear to me that using UTF-16 internally does make
    >> Data.Text noticeably slower.


    Ketil> I think that *IF* we are aiming for a single, grand, unified
    Ketil> text library to Rule Them All, it needs to use UTF-8.
    Ketil> Alternatively, we can have different libraries with different
    Ketil> representations for different purposes, where you'll get
    Ketil> another few percent of juice by switching to the most
    Ketil> appropriate.

Why not instead allow the programmer to decide at the function level
which internal encoding to use?
-- 
Colin Adams
Preston Lancashire
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to