"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
> seconds.
> 
> Ummm ?
> 
> J

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.

  Jan

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to