[GHC] #15519: Minor code refactoring leads to drastic performance degradation

GHC ghc-devs at haskell.org
Wed Aug 29 23:05:02 UTC 2018


#15519: Minor code refactoring leads to drastic performance degradation
-------------------------------------+-------------------------------------
        Reporter:  danilo2           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:  SpecConstr
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by danilo2):

 @simonpj I know, I'm sorry I was not clear enough. That sentence was
 regarding the post of @sgraf (citing it: `So, the fix to apply in your
 situation seems to be to eta-expand test1 and omit the INLINE pragma.`) :)

 Yes, making GHC always listen to INLINE will help me regarding 2,3,4!

 5. This is very interesting. Would you be so nice and tell me jsut a
 little more aobut it - where can I learn about it and why such design
 decisions were made?

 6. :)

 7. Very interesting. Thank you for sharing the knowledge!

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


More information about the ghc-tickets mailing list