Warp wrote:
> Someone else said that string are actually linked lists of characters
> where each character is garbage-collected. This must require humongous
> amounts of memory, especially considering that one character would only
> require 1 byte...
No - it's Unicode. 24 bits per character. ;-)
But yes, the standard Haskell string type is geared to flexibility, not
performance. See my ByteString comments...
Post a reply to this message
|