[GHC] #9369: Data.List.unfoldr does not fuse and is not inlined.

GHC ghc-devs at haskell.org
Sat Sep 6 20:21:56 UTC 2014


#9369: Data.List.unfoldr does not fuse and is not inlined.
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:
                  Type:  bug         |           Status:  patch
              Priority:  normal      |        Milestone:  7.8.4
             Component:              |          Version:  7.8.3
  libraries/base                     |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Easy (less than 1
  Unknown/Multiple                   |  hour)
       Type of failure:  Runtime     |       Blocked By:
  performance bug                    |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D198   |
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"78209d70596dcbfcb11ad1de1c961ab8479e531e/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="78209d70596dcbfcb11ad1de1c961ab8479e531e"
 INLINE unfoldr

 Summary:
 to allow GHC to maybe remove the Maybe. See the code comment for more
 commentary. This fixes #9369.

 Test Plan: see what happens on ghcspeed (once it is merged)

 Reviewers: austin

 Reviewed By: austin

 Subscribers: simonmar, ezyang, carter

 Differential Revision: https://phabricator.haskell.org/D198

 GHC Trac Issues: #9369
 }}}

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


More information about the ghc-tickets mailing list