[GHC] #3586: Slow array code
GHC
trac at galois.com
Wed Oct 14 14:04:48 EDT 2009
#3586: Slow array code
-----------------------------------------+----------------------------------
Reporter: simonpj | Owner:
Type: run-time performance bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
-----------------------------------------+----------------------------------
Comment (by int-e):
Apparently, newArray isn't getting inlined as intended, and thus not
getting specialized for the STU array types. Simply moving the
implementation of newArray to its own function (which is marked inline)
helps a lot.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3586#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list