#1094: loop optimization by removing constants
-----------------------------------------+----------------------------------
Reporter: Azmo | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: loop constants optimization | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Multiple |
-----------------------------------------+----------------------------------
Comment (by kirsten):
The optimization you suggest is called the "static argument
transformation". There's already a ticket to implement it at:
http://hackage.haskell.org/trac/ghc/ticket/888
and if you're interested, there's an explanation there of why this isn't
easy.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1094>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs