
19 Nov
2008
19 Nov
'08
5:35 p.m.
On Tue, 2008-11-18 at 22:42 +0100, Alberto G. Corona wrote:
sorry, Dons,
---------- Forwarded message ---------- From: Alberto G. Corona
Date: 2008/11/18 Subject: Re: [Haskell-cafe] implementing python-style dictionary in Haskell To: Don Stewart By the way byteStrings are wonderful, but, it isn“t true that byteStrings are not so fast for managing short strings, for example keys ?
For short strings they're fast to use but not fast to construct and not very memory efficient. There's 20 bytes overhead per ByteString. A packed string type optimised for short strings would make different design decisions. Duncan