
in fact the whole example is little meaningfull. It can't prove that the library is fast, nor that it is slow.
I agree. The main thing that the example tests is the compiler's ability to play games. I just tried multiplying 1000 * 1000 matrices together using msvc 8.0 with /Ox /Ot /Ob2 /Oy The results are effectively the same for double and quantity.
ublas: double = 16.282 seconds quantity = 16.547 seconds
tiled: double = 1.875 seconds quantity = 1.875 seconds
Steven, If you send me the test code you used, I'm happy to replace the existing (problematic) ad hoc "performance test" example with your example...This is certainly more representative of the kinds of performance-critical applications where quantities might be found, anyway. Matthias