
27 Mar
2010
27 Mar
'10
2:17 a.m.
On Sat, Mar 27, 2010 at 12:56 AM, Thomas DuBuisson
Using bang patterns didn't help almost anything here. Using rem instead of mod made the time go from 45s to 40s. Now, using -fvia-C really helped (when I used rem but not using mod). It went down to 10s.
Bang patterns should have helped tons - it isn't GHC thats at fault here and yes it does tco. I attached a version w/ excessive bangs below. Did you compile with "ghc --make -O3 -fforce-recomp"?
Does -O3 actually do anything? GHC only goes up to -O2.
--
Dave Menendez