[Haskell-cafe] Battling laziness

Joel Reymont joelr1 at gmail.com
Fri Dec 16 07:41:49 EST 2005


On Dec 16, 2005, at 12:36 PM, Simon Marlow wrote:

> If script#9 is the cost center attached to all of your leaking heap
> data, then you're already a long way to finding the problem.  It'll  
> help
> even more to find out whether it is just unevaluated copies of
> "takeEmptySeat Holdem affid []", or something else (-hd, -hy will help
> here).  Try +RTS -hy -hcscript#9, for example.
>
> One obvious thing to try is replacing the '$' before {-# SCC  
> "script#9"
> #-} with '$!'.  And similarly in takeEmptySeat.

Let me try these and report my findings.

> (I should say that we definitely plan to update these for STM, but  
> it's
> not completely trivial (I checked).  Volunteers definitely welcome).

I volunteer! Just need some pointers on where to get started. I learn  
quickly but need to be guided ;-). Plus, I need this the most, right?

	Thanks, Joel

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list