[Haskell-cafe] Strings - why [Char] is not nice

Dylan Thurston dpt at bostoncoop.net
Mon Sep 20 15:05:07 EDT 2004


On Mon, Sep 20, 2004 at 01:11:34PM +0300, Einar Karttunen wrote:
> Size
> 
> Handling large amounts of text as haskell strings is currently not
> possible as the representation (list of chars) is very inefficient. 

You know about the PackedString functions, right?

http://www.haskell.org/ghc/docs/6.0/html/base/Data.PackedString.html

Peace,
	Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org//pipermail/haskell-cafe/attachments/20040920/c53fc0e4/attachment-0001.bin


More information about the Haskell-Cafe mailing list