
4 Feb
2008
4 Feb
'08
10:56 p.m.
On Mon, Feb 04, 2008 at 10:13:12PM +0000, Adrian Hey wrote:
Also remember that this behaviour never wastes more than 50% of the stack, which is a relatively small amount.
Only if the stack is relatively small. Would you say the same about heap, or about a stack that only needed 50% of heap space but ended up using all of it? Or money? Using twice as much as you need of anything is bad IMO.
Apparently you don't realize that GHC normally uses twice as much heap as is needed, due to the decision to use a two-space copying collector by default for the oldest generation. :) Stefan