[GHC] #9120: Cache intermediate powers

GHC ghc-devs at haskell.org
Sat May 17 09:31:29 UTC 2014


#9120: Cache intermediate powers
-------------------------------------+------------------------------------
        Reporter:  basvandijk        |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by basvandijk):

 > I have no idea what is the purpose of this code, but why not the
 following? ...

 Won't that have linear complexity instead of logarithmic?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9120#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list