[Haskell-cafe] ANNOUNCE: vector-bytestring-0.0.0.0
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
2011/10/17 Jean-Marie Gaillourdet <jmg at gaillourdet.net>
> On 17.10.2011, at 12:14, Bas van Dijk wrote:
> > On 17 October 2011 10:18, Christian Maeder <Christian.Maeder at dfki.de>
> > 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.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe