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.
Hi,
On 17.10.2011, at 12:14, Bas van Dijk wrote:
> On 17 October 2011 10:18, Christian Maeder <Christian.Maeder@dfki.de> wrote:
>
> My idea is that when vector-bytestring is as fast as bytestring, itWhat 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.
> 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.
Cheers,
Jean
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe