Boost logo

Ublas :

From: Max Weinberg (max.weinberg_at_[hidden])
Date: 2005-06-02 05:40:18


I just tried gcc 4 on my Pentium4 system. Options were -O3 -march=pentium4.
Unless I have missed a switch, it seems like the gcc completely fails to
produce fast code for any variant except valarray. I wouldn't have expected a
difference as large as that. Quite amazing.

Pentium4
 3.73 valarray
49.48 ublas vector BOOST_UBLAS_USE_ITERATING
34.19 ublas vector
64.15 my code