#1136: High memory use when compiling many let bindings.
------------------------------------------+---------------------------------
 Reporter:  igloo                         |          Owner:         
     Type:  compile-time performance bug  |         Status:  new    
 Priority:  high                          |      Milestone:  6.8.3  
Component:  Compiler                      |        Version:  6.6    
 Severity:  normal                        |     Resolution:         
 Keywords:  performance                   |     Difficulty:  Unknown
 Testcase:                                |   Architecture:  Unknown
       Os:  Unknown                       |  
------------------------------------------+---------------------------------
Comment (by simonpj):

 Interesting.  I simplified it still more to a program of form:
 {{{
 a = let a0 = ()
     in let a1 = a0
         ...
     in let a10000 = a9999
 }}}
 and it still takes ages in the type checker, with a residency of 87M for
 10,000 bindings.  Splitting up the lets eliminates dependency analysis as
 the problem (in the type checker at least).

 Do you think you might do a little bit more profiling to see where the
 typechecker/renamers costs are coming, for this simpler program?

 Simon

 Could

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