#2462: Data.List.sum is slower than 6.8.3
--------------------------------------+-------------------------------------
Reporter: simonmar | Owner: simonpj
Type: run-time performance bug | Status: closed
Priority: high | Milestone: 6.10.1
Component: Compiler | Version: 6.8.3
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
--------------------------------------+-------------------------------------
Changes (by simonpj):
* status: new => closed
* resolution: => invalid
Comment:
I can't reproduce this. I compiled
{{{
module Main( main ) where
main = print (sum [1..100000000::Int])
}}}
with -O and -O2 with the HEAD and 6.8.3. Results are essentially
identical.
I'll close this, but if anyone else can reproduce it, please re-open.
{{{
Allocs Runtime(user)
ghc-HEAD -O 8.031M 1.82s
ghc-HEAD -O2 8.031M 1.82s
ghc-6.8.3 -O 8.031M 1.82s
ghc-6.8.3 -O2 8.031M 1.82
}}}
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2462#comment:2>
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