[Haskell-cafe] Re: Code and Perf. Data for Prime Finders (was:
Genuine Eratosthenes sieve)
Melissa O'Neill
oneill at cs.hmc.edu
Mon Jul 23 20:32:43 EDT 2007
Neil Mitchell wrote:
> -O3 is slower than -O2 and -O in ghc? If you want "fast code" then
> specify -O2, not -O3.
Oops. That ought to have been -O2.
But from what I can tell, -O3 is harmless (at least in this case).
Both invocations generate identical executables, at least for these
examples on my machine.
Melissa.
More information about the Haskell-Cafe
mailing list