30 Jan
2001
30 Jan
'01
5:24 a.m.
Mon, 29 Jan 2001 18:15:02 +0100, Jan Kort <kort@wins.uva.nl> pisze:
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