
#12378: Not enough inlining happens with single-method type classes -------------------------------------+------------------------------------- Reporter: akio | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: 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 simonpj): I've compiled your program with `-O2`, and both ghc 8.0 and HEAD, and cannot see a top-level definition of type `Small (Either () ())`. Can you compile with `-ddump-simpl`, attach the result, and point to the line number that concerns you? Thanks! Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12378#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler