#5237: Inefficient code generated for x^2 -------------------------------+-------------------------------------------- Reporter: scpmw | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.4.1 Component: libraries/base | Version: 7.0.3 Keywords: | Testcase: Blockedby: | Difficulty: Os: Linux | Blocking: Architecture: x86_64 (amd64) | Failure: Runtime performance bug -------------------------------+--------------------------------------------
Comment(by daniel.is.fischer): Indded, it seems the specialisations were considered a better match at those types. Extra rules for the specialised types fire. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5237#comment:7> 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