
I was referring to my recollection of this post from the guy who designed valarray:
http://www.oonumerics.org/oon/oon-list/archive/0493.html
where he says it was intended to be highly optimizable for running on vector supercomputers Well, it's clear that valarray implements some Expression Templates to optimizes it evaluations. But beware, few compilers nowadays are able to automagically turn scalar code into
Frank Mori Hess a écrit : proper, optimized SIMD code (or, again, I'll be pleased to be introduced to one). Automatic vectorization - like automatic parallelisation in general - is still in its infancy and largely academic. -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35