Manlio Perillo ha scritto:
[...]

It seems there is a problem with tuples, too.

I have a:
    [(Word16, UArr (Word32 :*:* Word8))]

This eats more memory than it should, since tuples are decoded lazily.


My bad, sorry.

I simply solved by using a strict consumer (foldl' instead of foldl).


Manlio
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to