[GHC] #9356: scanl does not participate in stream fusion

GHC ghc-devs at haskell.org
Sun Aug 31 22:13:34 UTC 2014


#9356: scanl does not participate in stream fusion
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:
                  Type:  bug         |           Status:  patch
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Runtime     |       Blocked By:
  performance bug                    |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by dfeuer):

 * status:  new => patch


Comment:

 Effects are generally small, but it seems to do a bit of good. The
 weakness is the `let`, of course. I'm still not sure we're gaining
 anything by trying to make this a good producer. Certainly making it a
 good consumer is good. I'm going to do a bit more hacking and testing.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9356#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list