>If it doesn't, then why not choose QVector? My intent in getting the information from Marc is to change the documentation of QList to say that.
But QList is easy to use. martin ________________________________________ From: development-bounces+martin.smith=theqtcompany....@qt-project.org <development-bounces+martin.smith=theqtcompany....@qt-project.org> on behalf of Thiago Macieira <thiago.macie...@intel.com> Sent: Sunday, July 12, 2015 7:45 PM To: development@qt-project.org Subject: Re: [Development] Container benchmark was HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO On Sunday 12 July 2015 16:16:07 Smith Martin wrote: > I can see by your explanation that QVector is almost always more efficient > than QList. But sometimes the difference doesn't matter. If it doesn't, then why not choose QVector? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development