#5888: Performance regression in 7.4.1 compared to 6.12.3
--------------------------------------+-------------------------------------
Reporter: nickie | Owner: igloo
Type: bug | Status: closed
Priority: highest | Milestone: 7.6.1
Component: Compiler | Version: 7.4.1
Resolution: fixed | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Runtime performance bug | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
--------------------------------------+-------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => fixed
Comment:
The problem was that `mod` was calling `divModInteger`, which returns a
pair. As `divModInteger` wasn't being inlined any more, we were always
allocating the pair, and then throwing away the unwanted value.
I've now added `divInteger` and `modInteger` functions.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5888#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs