[Haskell-cafe] Re: Code and Perf. Data for Prime Finders (was: Genuine Eratosthenes sieve)

Neil Mitchell ndmitchell at gmail.com
Mon Jul 23 20:08:28 EDT 2007


> But for the current version of my code, there is still a bit of a
> performance gap between our two methods.  Here are the stats I get
> (ghc -O3, 2.4GHz x86):

Are you aware that -O3 is slower than -O2 and -O in ghc? If you want
"fast code" then specify -O2, not -O3.



More information about the Haskell-Cafe mailing list