[Haskell-cafe] Re: Space usage problems

Ian Lynagh igloo at earth.li
Tue Jan 17 17:01:45 EST 2006

Hi Bulat,

On Wed, Jan 18, 2006 at 12:10:45AM +0300, Bulat Ziganshin wrote:
> Monday, January 16, 2006, 12:52:42 AM, you wrote:
> IL> OK, I have one library which provides
> IL>     inflate :: [Word8]   -- The input
> IL>             -> ([Word8], -- A prefix of the input inflated (uncompressed)
> IL>                 [Word8]) -- The remainder of the input
> you can use strict state monad for this task.

But then none of the output would be available until all the input was
consumed, right?

> in particular, looking at your code in MissingH 0.13, i recommend you
> try to use DiffUArray instead of Array

The code in missingh is old, entirely unoptimised and quite possibly
slightly buggy, incidentally.


More information about the Haskell-Cafe mailing list