#3064: Very long compile times with type functions
----------------------------------------+-----------------------------------
Reporter: simonpj | Owner: chak
Type: bug | Status: new
Priority: low | Milestone: 7.0.1
Component: Compiler (Type checker) | Version: 6.10.1
Keywords: | Testcase:
Blockedby: | Difficulty: Unknown
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Compile-time
performance bug
----------------------------------------+-----------------------------------
Comment(by CoreyOConnor):
The following patch looked like it resolves this issue:
[http://darcs.haskell.org/cgi-
bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100923143918-da291-8d319e1acf18f9a9bf8c92e266683968bb7e2d73.gz
Performance bug fixes]
Testing with the attached example:
{{{
[cocon...@toast scratch]$ time ../inplace/bin/ghc-stage2 -c Bug2.hs
real 0m0.716s
user 0m0.700s
sys 0m0.015s
[cocon...@toast scratch]$ time ../inplace/bin/ghc-stage2 -c Bug2.hs
real 0m0.945s
user 0m0.931s
sys 0m0.014s
[cocon...@toast scratch]$ time ../inplace/bin/ghc-stage2 -c Bug2.hs
real 0m1.192s
user 0m1.169s
sys 0m0.021s
[cocon...@toast scratch]$ time ../inplace/bin/ghc-stage2 -c Bug2.hs
real 0m1.515s
user 0m1.492s
sys 0m0.022s
}}}
I think this is resolved! Awesome work! I have a data marshaling library
that will greatly benefit from such a speedup.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3064#comment:11>
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