Thu Jan 28 04:44:54 PST 2010  Simon Marlow <[email protected]>
  * tweak the totally-bogus arbitrary stack-squeezing heuristic to fix #2797
  In #2797, a program that ran in constant stack space when compiled
  needed linear stack space when interpreted.  It turned out to be
  nothing more than stack-squeezing not happening.  We have a heuristic
  to avoid stack-squeezing when it would be too expensive (shuffling a
  large amount of memory to save a few words), but in some cases even
  expensive stack-squeezing is necessary to avoid linear stack usage.
  One day we should implement stack chunks, which would make this less
  expensive.

    M ./rts/ThreadPaused.c -1 +2

View patch online:
http://darcs.haskell.org/ghc-6.12/ghc/_darcs/patches/20100128124454-12142-a9f4f2a02ccc9058c40c2538433d4dfd41f89978.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to