|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-02-23 16:33:40
Am Freitag, 23. Februar 2007 22:01 schrieb Elliott Waldron:
> Here are the options I used with GCC
> -O3 -malign-double -march=pentium4 -mfpmath=sse -ffast-math
Did you forget -DNDEBUG ?
$ ./test_sort
sort of std::vector : 1.83 secs
sort of ublas::vector : 1.8 secs
by using
g++ -I $HOME/include -o test_sort test_sort.cpp -DNDEBUG -O3
mfg
Gunter