
3 Feb
2009
3 Feb
'09
12:08 a.m.
On 2009-02-02 22:30:03 +0100, Roberto Bagnara wrote:
#if 1 // CHECKME: the test seems to speed up the GMP computation. const Coefficient& y_i = y[i]; if (y_i != 0) sub_mul_assign(x_i, y_i, normalized_x_k); #else sub_mul_assign(x_i, y[i], normalized_x_k); #endif // 1
Couldn't this be due to C++ overhead? Have you tried in C?
--
Vincent Lefèvre vincent@vinc17.org - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)