[Haskell-cafe] Re: How to optimize the performance of a code in Haskell?

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Nov 4 12:04:28 EST 2009

Hello Kalman,

Wednesday, November 4, 2009, 7:53:49 PM, you wrote:

> I've not looked at the code, but you'll want ghc to do better optimizations
> than -O. -O2 is what you should use in general. Also, number-crunching often
> profits from -fexcess-precision.

also, floating-point number crunching usually faster with -fvia-C -optc-O3

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list