#4270: Out of memory when compiling Statistics.Quantile
-------------------------------+--------------------------------------------
    Reporter:  Itkovian        |        Owner:                     
        Type:  bug             |       Status:  new                
    Priority:  highest         |    Milestone:  7.0.1              
   Component:  Compiler        |      Version:  6.13               
    Keywords:  Out-of-memory   |     Testcase:  Statistics.Quantile
   Blockedby:                  |   Difficulty:                     
          Os:  Linux           |     Blocking:                     
Architecture:  x86_64 (amd64)  |      Failure:  Compile-time crash 
-------------------------------+--------------------------------------------

Comment(by rl):

 Replying to [comment:6 simonpj]:
 > > As to `zipWithM` and other stream functions, optimising them is
 pointless as they will always be inlined.
 >
 > It really is a very big function to inline at every call site!

 Don't forget that as soon as it gets inlined into a loop, the cases get
 eliminated and then !SpecConstr removes the loop state (the tuple with the
 Maybe) as well. This is actually the whole point.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4270#comment:7>
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

Reply via email to