Gunter - that was it!
Many thanks,
Elliott
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
_______________________________________________
ublas mailing list
ublas@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/ublas