[GHC] #12354: Word foldl' isn't optimized as well as Int foldl'

GHC ghc-devs at haskell.org
Fri Jul 1 11:12:42 UTC 2016


#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


More information about the ghc-tickets mailing list