[Haskell-cafe] ANN: stm-conduit-0.2.1

Clark Gaebel cgaebel at csclub.uwaterloo.ca
Sun Feb 12 18:41:38 CET 2012


I added that after reading his feedback, and seeing the flaw in using
TMChans.

On Sun, Feb 12, 2012 at 1:47 AM, wren ng thornton <wren at freegeek.org> wrote:

> On 2/9/12 2:29 PM, Felipe Almeida Lessa wrote:
>
>> Your package uses TMChans which AFAIK are unbounded.  That means that
>> if the writer is faster than the reader, then everything will be kept
>> into memory.  This means that using TMChans you may no longer say that
>> your program uses a constant amount of memory.  Actually, you lose a
>> lot of your space reasoning since, being concurrent processes, you
>> can't guarantee almost anything wrt. progress of the reader.
>>
>
> Of course, you're free to use TBMChans instead, which are bounded :)
>
> --
> Live well,
> ~wren
>
> ______________________________**_________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/**mailman/listinfo/haskell-cafe<http://www.haskell.org/mailman/listinfo/haskell-cafe>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120212/f61a298f/attachment.htm>


More information about the Haskell-Cafe mailing list