[Haskell-cafe] Haskell maximum stack depth
stefanor at cox.net
Mon Feb 4 22:56:19 EST 2008
On Mon, Feb 04, 2008 at 10:13:12PM +0000, Adrian Hey wrote:
>> 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. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080204/4bd3f9df/attachment.bin
More information about the Haskell-Cafe