[Haskell-cafe] Re: Haskell version of ray tracer code is much slower than the original ML

Claus Reinke claus.reinke at talk21.com
Fri Jun 22 10:00:53 EDT 2007

>   -fvia-C -fexcess-precision -optc-mfpmath=sse2

is there, or should there be a way to define -O "profiles" for ghc?
so that -O would refer to the standard profile, -Ofp would refer
to the combination above as a floating point optiimisation profile,
other profiles might include things like -funbox-strict-fields, and
-Omy42 would refer to my own favourite combination of flags..

perhaps this should be generalised to ghc flag profiles, to cover
things like '-fno-monomorphism-restriction -fno-mono-pat-binds'
or '-fglasgow-exts -fallow-undecidable-instances; and the like?

just a thought,

More information about the Haskell-Cafe mailing list