On Thu, Jun 3, 2010 at 9:16 AM, Daniel Fischer <[email protected]>wrote:

> String can be quite memory efficient. As a stupid example,
>
> length (replicate 10000000 'a')
>
> will need less memory than the equivalents using ByteString or Text.
>

Actually, this will be fused with Data.Text, and should execute more quickly
and in less space than String.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to