Re: [Haskell-cafe] Interesting effect of upgrading GHC

2007-11-13 Thread Ketil Malde
Neil Mitchell [EMAIL PROTECTED] writes: I just removed GHC 6.6.1 and installed 6.8.1, and I noticed something rather unexpected. I recompiled an existing program (with -O2), and instead of taking 30 seconds to compile, it took roughly 2 seconds. In previous releases, certain constructs took

[Haskell-cafe] Interesting effect of upgrading GHC

2007-11-12 Thread Andrew Coppin
Hi guys. I just removed GHC 6.6.1 and installed 6.8.1, and I noticed something rather unexpected. I recompiled an existing program (with -O2), and instead of taking 30 seconds to compile, it took roughly 2 seconds. That's a really serious speedup! o_O Anybody have any idea what might have

Re: [Haskell-cafe] Interesting effect of upgrading GHC

2007-11-12 Thread Neil Mitchell
Hi I just removed GHC 6.6.1 and installed 6.8.1, and I noticed something rather unexpected. I recompiled an existing program (with -O2), and instead of taking 30 seconds to compile, it took roughly 2 seconds. In previous releases, certain constructs took O(n^2) time to compile. One that was a

Re: [Haskell-cafe] Interesting effect of upgrading GHC

2007-11-12 Thread Roel van Dijk
Not sure if this is the case but if you don't delete the old object files and executable GHC may think that its job is already done and give up early. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Interesting effect of upgrading GHC

2007-11-12 Thread Andrew Coppin
Gwern Branwen wrote: FWIW, I was actually discussing compilation with -O2 on 6.8 with Sjannssen and he told me that even with -O2 turned on, GHC now defaults to -fasm instead of -fvia-c. Ah. Yeah, that could well make a big difference... (Especially on a machine with insufficient RAM.)