
#11226: Performance regression (involving sum, map, enumFromThenTo) -------------------------------------+------------------------------------- Reporter: j.waldmann | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by j.waldmann): I found that this works fine with 7.10: {{{ main = print $ sum $ map bitcount $ takeWhile (< 2^24) [0, 4 .. ] }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11226#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler