Re: [GHC] #2450: Data.Complex.magnitude squares using ^(2 :: Int), which is slow

#2450: Data.Complex.magnitude squares using ^(2 :: Int), which is slow --------------------------------------------+------------------------------ Reporter: igloo | Owner: Type: bug | Status: closed Priority: lowest | Milestone: 7.6.2 Component: libraries/base | Version: 6.8.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime performance bug | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: --------------------------------------------+------------------------------ Changes (by monoidal): * status: new => closed * resolution: => fixed Comment: You are right, I see that originally the bug was left open because of missing rewrite rules (https://github.com/ghc/packages- base/commit/d6adf6bd595c3b8f750acc9293f5847f176b521b) but they were added in #5237. Thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/2450#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC