[Digikam-devel] QList <->QVector

Andi Clemens andi.clemens at googlemail.com
Sun Aug 28 14:53:54 BST 2011


Hi,

in STL, we use std::vector most of the time, but in Qt programs we tend to  
use QList instead of QVector, which seems to be a performance issue,
see  
http://marcmutz.wordpress.com/2010/07/29/sneak-preview-qlist-considered-harmful/  
.

Maybe we should consider changing QList to QVector in digiKam's code? With  
the patch in the above link Qt will throw a warning when an inefficient  
type is used in the QList container.

Andi


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/



More information about the Digikam-devel mailing list