Boost logo

Ublas :

From: Max Weinberg (max.weinberg_at_[hidden])
Date: 2005-06-02 07:24:37


Ouch, I simply forgot the NDEBUG switch. Corrected results with
-O3 -march=pentium4 -DNDEBUG -funroll-all-loops are:

Pentium4
  3.53 valarray
  3.56 ublas vector BOOST_UBLAS_USE_ITERATING
  3.23 ublas vector
  6.07 my code

So it is slightly slower with BOOST_UBLAS_USE_ITERATING switched on. I have
used plus_assign and minus_assign.