Igor Schein on Mon, 1 Jul 2002 20:21:10 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

precision-performance tradeoff


Hi,

I noticeed this:

? forstep(p=80,160,10,setrand(1);default(realprecision,p);gettime;thueinit(x^7-401);print(p" "gettime))
80 16780
90 16810
100 12750
110 12840
120 15140
130 10230
140 3410
150 3510
160 3590

If you start with a high-enough precision, you can get 5x speedup
factor.  Is it an expected behavior?

Thanks

Igor