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

wren ng thornton wren at freegeek.org
Sun Feb 12 07:47:40 CET 2012


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



More information about the Haskell-Cafe mailing list