#3736: GHC specialising instead of inlining
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Keywords: | Difficulty:
Os: Linux | Testcase:
Architecture: x86 | Failure: Runtime performance bug
-------------------------+--------------------------------------------------
Comment(by guest):
Yes, this seems to do the same. In general it is problematic to have more
than one test case in an executable, since GHC decides between
specialisation and inlining of a function depending on the number of
calls. But in this case it looks like GHC makes the same decision.
Btw. how did you manage to create this self-contained module? Manually? I
remember there was a program that performs assembling one module from
several ones in order to get whole program analysis.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3736#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs