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

Philip Armstrong phil at kantaka.co.uk
Thu Jun 21 15:42:57 EDT 2007

On Thu, Jun 21, 2007 at 03:29:17PM -0400, Mark T.B. Carroll wrote:
>Philip Armstrong <phil at kantaka.co.uk> writes:
>> Why on earth would you use -fexcess-precision if you're using Floats?
>> The excess precision only apples to Doubles held in registers on x86
>> IIRC. (If you spill a Double from a register to memory, then you lose
>> the extra precision bits in the process).
>Some googling suggests that point 2 on
>might have been what I was thinking of.

That's the old wiki. The new one gives the opposite advice! (As does
the ghc manual):



http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt

More information about the Haskell-Cafe mailing list