
#12808: For closures, Loop Invariant Code Flow related to captured free values not lifted outside the loop... -------------------------------------+------------------------------------- Reporter: GordonBGood | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: JoinPoints Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by lukemaurer): Confirmed—with join points, heap allocation drops from 23M to 70K. Looks like the simplifier is doing exactly what we want, and //all// the loops wind up as join points. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12808#comment:18 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler