[Haskell-cafe] preventing space leaks?

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Fri Sep 19 08:05:46 UTC 2014


On Fri, Sep 19, 2014 at 01:00:19AM -0700, Baojun Wang wrote:
> When I use listArray to create either IArray or UArray, I found it could
> lead to space leaks (very high GC time), is there a way to prevent this,
> and why there is no fusion when create IArray/UArray from the list? I don't
> need the list anyway after array is created. (I used this few times for DP,
> based on this link: http://jelv.is/blog/Lazy-Dynamic-Programming/).

Could you post some code?


More information about the Haskell-Cafe mailing list