Floating point performance
Mon, 29 Jan 2001 18:15:02 +0100
"Julian Seward (Intl Vendor)" wrote:
> I tried this, with ghc-4.08.1 -O both with and without
> profiling, on a Sparc box of I believe around 300 MHz,
> and I can't reproduce it at all. Without profiling,
> it allocates about 505 k of heap and runs in 0.02
> Ummm ?
I didn't use any optimizations, but I am sure that
passing -O to ghc will make it see that 1*1*... is a
constant expression. I guess turning all optimizations
off is not the right way to test stuff either.