Data.List.sum is slower than 6.8.3
main = print (sum [1..100000000::Int])
with 6.8.3:
MUT time 1.76s ( 1.79s elapsed)
with HEAD (22/7/08)
MUT time 1.97s ( 1.99s elapsed)
complete guess: sum has been mis-optimised by SAT?
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | high |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |