[GHC] #9132: takeWhile&C. still not fusible

GHC ghc-devs at haskell.org
Fri Jun 6 13:54:31 UTC 2014


#9132: takeWhile&C. still not fusible
-------------------------------------+-------------------------------------
        Reporter:  Blaisorblade      |            Owner:  skeuchel
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  libraries/base    |          Version:  7.8.2
      Resolution:                    |         Keywords:  fusion
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  Runtime           |       Difficulty:  Moderate (less
  performance bug                    |  than a day)
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by Blaisorblade):

 Replying to [comment:7 skeuchel]:
 my progress is in this branch:
 https://github.com/Blaisorblade/ghc/tree/topic/fuseTakeWhile (see
 https://github.com/Blaisorblade/ghc/pull/1 for a better web interface),
 and include some doc changes. Since you assigned the bug to yourself (so I
 guess you plan to work on it), you might want to resume from there.

 Current status: the changes are done and do work on my example (causing
 fusion), now one should validate the performance impacts.
 Right now, I didn't write a benchmark to measure the speedup on my program
 (or any other), and there's no net effect on nofib (even though takeWhile
 is sometimes called — but probably not in inner loops). The automated
 tests are also missing.

 (Sorry for not getting back to you before, I'm traveling lots this month —
 next week I'm at PLDI).

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


More information about the ghc-tickets mailing list