
18 Dec
2009
18 Dec
'09
10:48 p.m.
Hi!
On Fri, Dec 18, 2009 at 6:54 PM, Mitar
On Fri, Dec 18, 2009 at 8:29 AM, Ketil Malde
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?
Tried it and it really works great! Thanks to all. Mitar