Em terça-feira, 9 de maio de 2017, às 08:55:50 PDT, René J.V. Bertin escreveu: > Hi, > > In the past I have used SIMD-accelerated container classes like MacSTL's > alternative to std::valarray with considerable benefit for certain > operations. > > Are there similar classes that extend Qt containers like QVector so that > math operations on instances containing a relevant scalar datatype are > SIMD-accelerated? Or even QByteArray (which I've seen used as a container > for at least 1-D time-series data (audio))?
QString is already SIMD accelearated and has been since Qt 4.5. If you want any inline operations to become SIMD accelerated, compile your code with -O3. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest