#2002: problems with very large (list) literals
------------------------------------------+---------------------------------
 Reporter:  Isaac Dupree                  |          Owner:         
     Type:  compile-time performance bug  |         Status:  new    
 Priority:  high                          |      Milestone:  6.8.3  
Component:  Compiler                      |        Version:  6.8.2  
 Severity:  normal                        |     Resolution:         
 Keywords:                                |     Difficulty:  Unknown
 Testcase:                                |   Architecture:  x86    
       Os:  Linux                         |  
------------------------------------------+---------------------------------
Comment (by guest):

 I also had experiences with large literal lists. The source files were
 about 300k-500k, the list sizes are probably somewhere in the 20000-30000
 range (definitely less than 100000). I used both 6.6.1 and 6.8.2, both
 takes incredibly long time (10 minutes is not unheard of, on a 2ghz
 machine with 768mb ram), and sometimes fails spontaneously (usually memory
 allocation problems, if I recall it correctly).

 I should note though that a significant part of the compilation time is
 spent by gcc, not ghc (no idea about the exact ratio).

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