
#15578: Honour INLINE pragmas on 0-arity bindings -------------------------------------+------------------------------------- Reporter: simonpj | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #15519 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by tdammers): Replying to [comment:7 simonpj]:
Great! Can you also confirm that this change makes `test3` (described in comment:11 of #15519, under "Workarounds") work as fast as `test0`; and does so * Without removing the INLINE pragma on `testGrammar` * Without removing the other uses of `testGrammar1` in (say) `test1`
Unfortunately, `test3` is still almost as slow as without the patch: {{{ HEAD / test0 377.779049 HEAD / test1 7812.787996 HEAD / test3 7996.584027 patched / test0 372.0234 patched / test1 7540.029795 patched / test3 7654.089574 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15578#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler