[Haskell-cafe] Double free-ing

Mitar mmitar at gmail.com
Fri Dec 18 12:54:41 EST 2009


On Fri, Dec 18, 2009 at 8:29 AM, Ketil Malde <ketil at malde.org> wrote:
> Lazy ByteStrings should be able to append with O(1).  (Or use strict BS
> hGetNonBlocking, and Lazy ByteString fromChunks.)

Oh, true. Thanks!

But ... lazy ByteString's hGetNonBlocking is probably not lazy? Could
it be? It has to read at that moment whatever it can? But appending is
really better. Why are lazy ByteStrings not default?

Thanks again.


More information about the Haskell-Cafe mailing list