
#11701: ghc generates significant slower code -------------------------------------+------------------------------------- Reporter: HuStmpHrrr | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: efficiency Operating System: Linux | Architecture: x86_64 Type of failure: Runtime | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Wow, indeed 7.10.3 chooses not to inline `even`. I've not looked into why but this is quite surprising. Inlining `even` produces a significant speedup (roughly a factor of five) as one would expect. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11701#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler