[GHC] #3586: Slow array code

GHC trac at galois.com
Wed Oct 14 14:11:07 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):

 Addendum: The code generated for forM_ [0..n-1] ... is just as fast as a
 hand-written loop in my tests, if compiled with optimisations enabled.

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


More information about the Glasgow-haskell-bugs mailing list