
#12354: Word foldl' isn't optimized as well as Int foldl' -------------------------------------+------------------------------------- Reporter: kjslag | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): I think the generic versions could work with boxed values and we could fuse there. After fusion the unboxed versions could kick in. Short term: just replicate Int stuff for Word. Medium term: let's hope someone takes up the challenge. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12354#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler