[GHC] #14152: Float exit paths out of recursive functions

GHC ghc-devs at haskell.org
Fri Sep 1 10:17:34 UTC 2017


#14152: Float exit paths out of recursive functions
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:  JoinPoints
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14137 #10918     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nomeata):

 Wow, the results are great!

 {{{
 Nofib allocations
 Benchmark name                  previous        change          now
 nofib/allocs/fannkuch-redux      870976696      - 99.99%           64728
 bytes
 nofib/allocs/k-nucleotide       1089567552      - 91.74%        89963760
 bytes

 Nofib runtimes
 Benchmark name                  previous        change          now
 nofib/time/CSD                  0.536           - 6.72%         0.5
 seconds
 nofib/time/FS                   0.413           - 3.15%         0.4
 seconds
 nofib/time/cryptarithm1         0.529           - 4.91%         0.503
 seconds
 nofib/time/integer              1.562           + 3.01%         1.609
 seconds
 nofib/time/last-piece           0.425           - 3.06%         0.412
 seconds
 }}}

 Almost too good to be true. I wonder where the bug is… :-)

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


More information about the ghc-tickets mailing list