
29 Jan
2001
29 Jan
'01
4:24 p.m.
Mon, 29 Jan 2001 18:15:02 +0100, Jan Kort
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.
It does not, because it's n*1*1*1*... where n is not a constant. Major advantages seem to be from the strictness analysis. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK