On Sat, Mar 27, 2010 at 12:56 AM, Thomas DuBuisson
<thomas.dubuis...@gmail.com> wrote:
>> 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 <d...@zednenem.com>
<http://www.eyrie.org/~zednenem/>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to