diff options
author | 2008-01-13 19:55:23 +0000 | |
---|---|---|
committer | 2008-01-13 19:55:23 +0000 | |
commit | 89a134ba0b40b7cfc4554e3f06813fd32bbe2ede (patch) | |
tree | 2d0aa14b49b6b80802371f6bb5ac8ee6360d87d1 /doc | |
parent | e05a1aba1d83a7286e48576a053276c16633a7f1 (diff) |
big architecture change dissociating "actual" dimensions from "maximum possible"
dimension. The advantage is that evaluating a dynamic-sized block in a fixed-size
matrix no longer causes a dynamic memory allocation. Other new thing:
IntAtRunTimeIfDynamic allows storing an integer at zero cost if it is known at
compile time.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/benchmark.cpp b/doc/benchmark.cpp index 51f594583..b2ab9a3b0 100644 --- a/doc/benchmark.cpp +++ b/doc/benchmark.cpp @@ -16,7 +16,7 @@ int main(int argc, char *argv[]) } for(int a = 0; a < 400000000; a++) { - m = Matrix3d::identity() + 0.00005 * (m + m*m); + m = I + 0.00005 * (m + m*m); } cout << m << endl; return 0; |