
20 Feb
2009
20 Feb
'09
6:22 p.m.
Hello Khudyakov, Saturday, February 21, 2009, 2:07:39 AM, you wrote:
I have another question. Why shouldn't compiler realize that `sum [1..10^9]' is constant and thus evaluate it at compile time?
since we expect that compilation will be done in reasonable amount of time. you cannot guarantee this for list-involving computation -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com