[Haskell-cafe] Re: Space usage problems
Simon Marlow
simonmar at microsoft.com
Wed Jan 11 10:00:45 EST 2006
Ian Lynagh wrote:
> On Wed, Jan 11, 2006 at 10:36:47AM +0000, Simon Marlow wrote:
>
>>My suggestion: don't use the lazy state monad if you can help it.
>
> But a strict state monad would force everything to be loaded into memory
> at once, right?
>
> What would you suggest I use instead?
I'm not sure - can you describe exactly what you want to do from a
higher level? It might help to re-think the problem from the top down.
> Or do I just have to tread carefully to keep this optimisation happy
> until the GCer is improved?
I can't see us fixing this in the short term, I'm afraid.
Cheers,
Simon
More information about the Haskell-Cafe
mailing list