[Haskell-cafe] Re: The Proliferation of List-Like Types
Chad Scherrer
chad.scherrer at gmail.com
Wed Feb 20 13:48:21 EST 2008
Henning Thielemann <lemming <at> henning-thielemann.de> writes:
> > 4) We are missing one final useful type: a Word32-based ByteString.
> > When working in the Unicode character set, a 32-bit character
> > can indeed be useful, and I could see situations in which the
> > performance benefit of a ByteString-like implementation could
> > be useful combared to [Char].
>
> StorableVector should fill this gap.
> http://code.haskell.org/~sjanssen/storablevector/
>
Yes, it could, but
(1) it's way behind ByteString in terms of optimizations (== "fusion")
(2) there's (as far as I know) not a StorableVector.Lazy, which is very much
needed
To catch up on both fronts, we're looking at a lot of duplicate code.
Chad
More information about the Haskell-Cafe
mailing list