Strange compilation behavior

2007-12-09 Thread Chad Scherrer
Hello, I'm using ghc 6.6.1 under Ubuntu Gutsy on a Pentium 4 machine, and I was working to get some code running in an acceptable time. I was surprised to find that turning on profiling switches made the code run over 40x faster! Here's the first run, using ghc --make -O2: 88.03user 0.08system

Re: Strange compilation behavior

2007-12-09 Thread Daniel Fischer
Am Montag, 10. Dezember 2007 00:29 schrieb Chad Scherrer: Hello, I'm using ghc 6.6.1 under Ubuntu Gutsy on a Pentium 4 machine, and I was working to get some code running in an acceptable time. I was surprised to find that turning on profiling switches made the code run over 40x faster!