From 890a8de962e575442bc3195967a26a26e5139db9 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 2 May 2008 08:53:23 +0000 Subject: Make products always eval into expressions. Improves performance in benchmark. Still not as fasts as explicit eval(), strangely. --- bench/benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/benchmark.cpp') diff --git a/bench/benchmark.cpp b/bench/benchmark.cpp index 53693cbf6..4061b0211 100644 --- a/bench/benchmark.cpp +++ b/bench/benchmark.cpp @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) asm("#begin"); for(int a = 0; a < REPEAT; a++) { - m = I + 0.00005 * (m + m*m); + m = Matrix::ones() + 0.00005 * (m + m*m); } asm("#end"); cout << m << endl; -- cgit v1.2.3