[Haskell-cafe] ANNOUNCE: vector-bytestring-

Yves Parès limestrael at gmail.com
Mon Oct 17 20:15:10 CEST 2011

It's a good question, I don't think there is something in the vector library
that can handle chunks of vectors...
If both lazy and strict bytestrings are to be generalized, it would *at last
* permit to have a single interface to them, thanks to Data.Vector.Generic,
and no longer two identical interfaces in separate modules, which forces to
duplicate each code which handles bytestrings so that it can deal with the
two flavours.

2011/10/17 Jean-Marie Gaillourdet <jmg at gaillourdet.net>

> Hi,
> On 17.10.2011, at 12:14, Bas van Dijk wrote:
> > On 17 October 2011 10:18, Christian Maeder <Christian.Maeder at dfki.de>
> wrote:
> >
> > My idea is that when vector-bytestring is as fast as bytestring, it
> > can replace it. When that happens it doesn't matter if users use the
> > vector interface. I would even recommend it over using the bytestring
> > interface so that bytestring can eventually be deprecated in favor of
> > vector.
> What about lazy bytestrings? I wasn't aware that vector also supports huge
> logical array which are suitable for very large io streams. I'd be glad if
> vector is also suitable for such applications. But if not, then there is
> still a need for the bytestring package in order to support streaming
> gigabytes of data in a small constant sized heap.
> Cheers,
>   Jean
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111017/90ce0544/attachment.htm>

More information about the Haskell-Cafe mailing list