[GHC] #14750: Plugins should be loaded once for each module rather than multiple times

#14750: Plugins should be loaded once for each module rather than multiple times -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Keywords: plugins | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Plugins are currently loaded immediately before they are used in the simplifier and constraint solver. It would be better to load them once, at the start of the pipeline rather than at each of these different places. lazer already has a patch which achieves this. I'm making it a separate ticket as it need not be blocked on the progress of #14709 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14750 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14750: Plugins should be loaded once for each module rather than multiple times -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: plugins Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * cc: lazar (removed) * cc: lazac (added) Old description:
Plugins are currently loaded immediately before they are used in the simplifier and constraint solver. It would be better to load them once, at the start of the pipeline rather than at each of these different places.
lazer already has a patch which achieves this. I'm making it a separate ticket as it need not be blocked on the progress of #14709
New description: Plugins are currently loaded immediately before they are used in the simplifier and constraint solver. It would be better to load them once, at the start of the pipeline rather than at each of these different places. lazac already has a patch which achieves this. I'm making it a separate ticket as it need not be blocked on the progress of #14709 -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14750#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14750: Plugins should be loaded once for each module rather than multiple times -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: plugins Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): Perhaps `-ddump-cs-trace`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14750#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14750: Plugins should be loaded once for each module rather than multiple times -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: fixed | Keywords: plugins Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * status: new => closed * resolution: => fixed Comment: This was fixed in f8e3cd3b160d20dbd18d490b7babe43153bb3287 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14750#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC