#5916: runST isn't free ---------------------------------+------------------------------------------ Reporter: tibbe | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by simonmar):
* difficulty: => Unknown Comment: I chatted with tibbe a little on IRC about this, and one conclusion is that we should probably try harder to inline `runSTRep`. It has to be inlined very late in order to avoid bad things happening; indeed we used to try to do that, but it didn't work (see the comment on `runSTRep`). If we did this, then the allocation of the function closure for passing to `runST` could disappear, which might be critical in an inner loop. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5916#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs